public class LuceneSpatialConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
class |
LuceneSpatialConfiguration.DirectoryFactory |
class |
LuceneSpatialConfiguration.StrategyFactory |
Modifier and Type | Field and Description |
---|---|
static String |
DIST_ERR_PCT |
static String |
DIST_ERR_PCT_DEFAULT |
static String |
FILE_SEPARATOR |
static String |
SPATIAL_CONTEXT |
static String |
SPATIAL_CONTEXT_DEFAULT |
static String |
SPATIAL_CONTEXT_GEO |
static String |
SPATIAL_CONTEXT_GEO_DEFAULT |
static String |
SPATIAL_CONTEXT_WORLD_BOUNDS |
static String |
SPATIAL_PREFIX_TREE |
static String |
SPATIAL_PREFIX_TREE_DEFAULT |
static String |
SPATIAL_PREFIX_TREE_MAX_LEVELS |
static String |
SPATIAL_PREFIX_TREE_MAX_LEVELS_DEFAULT |
static String |
STORAGE_DIRECTORYTYPE |
static String |
STORAGE_DIRECTORYTYPE_DEFAULT |
static String |
STORAGE_LOCATION |
static String |
STRATEGY |
static String |
STRATEGY_DEFAULT |
Constructor and Description |
---|
LuceneSpatialConfiguration(LuceneSpatialQueryExtensionProvider provider,
QueryExtensionRuntimeInfo info) |
Modifier and Type | Method and Description |
---|---|
protected LuceneSpatialConfiguration.DirectoryFactory |
createDirectoryFactory(LuceneSpatialQueryExtensionProvider provider) |
protected LuceneSpatialConfiguration.StrategyFactory |
createStrategyFactory(LuceneSpatialQueryExtensionProvider provider) |
org.apache.lucene.store.Directory |
getDirectory(String relativePath) |
String |
getLocation() |
int |
getMaxUncommittedChanges() |
com.spatial4j.core.context.SpatialContext |
getSpatialContext() |
org.apache.lucene.spatial.SpatialStrategy |
getStrategy(String fieldName) |
public static final String FILE_SEPARATOR
public static final String STRATEGY
public static final String STRATEGY_DEFAULT
public static final String SPATIAL_PREFIX_TREE
public static final String SPATIAL_PREFIX_TREE_DEFAULT
public static final String SPATIAL_PREFIX_TREE_MAX_LEVELS
public static final String SPATIAL_PREFIX_TREE_MAX_LEVELS_DEFAULT
public static final String DIST_ERR_PCT
public static final String DIST_ERR_PCT_DEFAULT
public static final String STORAGE_DIRECTORYTYPE
public static final String STORAGE_DIRECTORYTYPE_DEFAULT
public static final String STORAGE_LOCATION
public static final String SPATIAL_CONTEXT
public static final String SPATIAL_CONTEXT_DEFAULT
public static final String SPATIAL_CONTEXT_GEO
public static final String SPATIAL_CONTEXT_GEO_DEFAULT
public static final String SPATIAL_CONTEXT_WORLD_BOUNDS
public LuceneSpatialConfiguration(LuceneSpatialQueryExtensionProvider provider, QueryExtensionRuntimeInfo info)
protected LuceneSpatialConfiguration.StrategyFactory createStrategyFactory(LuceneSpatialQueryExtensionProvider provider)
protected LuceneSpatialConfiguration.DirectoryFactory createDirectoryFactory(LuceneSpatialQueryExtensionProvider provider)
public org.apache.lucene.spatial.SpatialStrategy getStrategy(String fieldName)
public org.apache.lucene.store.Directory getDirectory(String relativePath) throws IOException
IOException
public com.spatial4j.core.context.SpatialContext getSpatialContext()
public int getMaxUncommittedChanges()
public String getLocation()
Copyright © GigaSpaces.