|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gigaspaces.metadata.index.SpaceIndexFactory
public class SpaceIndexFactory
Factory which provides methods to create space indexes.
SpaceIndex,
SpaceTypeDescriptor,
SpaceTypeDescriptorBuilder| Constructor Summary | |
|---|---|
SpaceIndexFactory()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceIndexFactory()
| Method Detail |
|---|
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)
paths - indexType - indexName - - null or a preset name
|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||