public class SpaceIndexFactory extends Object
SpaceIndex,
SpaceTypeDescriptor,
SpaceTypeDescriptorBuilder| Constructor and Description |
|---|
SpaceIndexFactory() |
| Modifier and Type | Method and Description |
|---|---|
static SpaceIndex |
createCompoundIndex(String[] paths) |
static SpaceIndex |
createCompoundIndex(String[] paths,
SpaceIndexType indexType,
String indexName,
boolean unique)
Creates a space compound index from the specified paths with the specified index type.
|
static SpaceIndex |
createPathIndex(String path,
SpaceIndexType indexType)
Creates a space index for the specified path with the specified index type.
|
static SpaceIndex |
createPathIndex(String path,
SpaceIndexType indexType,
boolean unique)
Creates a space index for the specified path with the specified index type.
|
static SpaceIndex |
createPropertyIndex(String propertyName,
SpaceIndexType indexType)
Creates a space index for the specified property with the specified index type.
|
static SpaceIndex |
createPropertyIndex(String propertyName,
SpaceIndexType indexType,
boolean unique)
Creates a space index for the specified property with the specified index type.
|
public static SpaceIndex createPropertyIndex(String propertyName, SpaceIndexType indexType)
propertyName - Name of property to index.indexType - type of index.public static SpaceIndex createPropertyIndex(String propertyName, SpaceIndexType indexType, boolean unique)
propertyName - Name of property to index.indexType - type of index.unique - tre if unique index.public static SpaceIndex createPathIndex(String path, SpaceIndexType indexType)
path - Path to index.indexType - type of index.public static SpaceIndex createPathIndex(String path, SpaceIndexType indexType, boolean unique)
path - Path to index.indexType - type of index.unique - tre if unique index.public static SpaceIndex createCompoundIndex(String[] paths)
public static SpaceIndex createCompoundIndex(String[] paths, SpaceIndexType indexType, String indexName, boolean unique)
indexName - - null or a preset nameCopyright © GigaSpaces.