com.gigaspaces.metadata.index
Class SpaceIndexFactory
java.lang.Object
com.gigaspaces.metadata.index.SpaceIndexFactory
public class SpaceIndexFactory
- extends Object
Factory which provides methods to create space indexes.
- Since:
- 8.0
- Author:
- Niv Ingberg
- See Also:
SpaceIndex
,
SpaceTypeDescriptor
,
SpaceTypeDescriptorBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpaceIndexFactory
public SpaceIndexFactory()
createPropertyIndex
public static SpaceIndex createPropertyIndex(String propertyName,
SpaceIndexType indexType)
- Creates a space index for the specified property with the specified index type.
- Parameters:
propertyName
- Name of property to index.indexType
- type of index.
- Returns:
- A space index for the specified property.
createPathIndex
public static SpaceIndex createPathIndex(String path,
SpaceIndexType indexType)
- Creates a space index for the specified path with the specified index type.
- Parameters:
path
- Path to index.indexType
- type of index.
- Returns:
- A space index for the specified path.
Copyright © GigaSpaces.