GigaSpaces XAP 9.1 API

com.gigaspaces.metadata.index
Class SpaceIndexFactory

java.lang.Object
  extended by 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

Constructor Summary
SpaceIndexFactory()
           
 
Method Summary
static SpaceIndex createPathIndex(String path, SpaceIndexType indexType)
          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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpaceIndexFactory

public SpaceIndexFactory()
Method Detail

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.

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.