Package uk.gov.gchq.gaffer.mapstore
Class MapStoreProperties
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.StoreProperties
-
- uk.gov.gchq.gaffer.mapstore.MapStoreProperties
-
- All Implemented Interfaces:
Cloneable
public class MapStoreProperties extends StoreProperties
AdditionalStorePropertiesfor theMapStore.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCREATE_INDEXstatic StringCREATE_INDEX_DEFAULTstatic StringINGEST_BUFFER_SIZEProperty name for the ingest buffer size.static intINGEST_BUFFER_SIZE_DEFAULTstatic StringMAP_FACTORYstatic StringMAP_FACTORY_CONFIGstatic StringMAP_FACTORY_CONFIG_DEFAULTstatic Class<? extends MapFactory>MAP_FACTORY_DEFAULTstatic StringSTATIC_MAPstatic StringSTATIC_MAP_DEFAULT-
Fields inherited from class uk.gov.gchq.gaffer.store.StoreProperties
ADMIN_AUTH, EXECUTOR_SERVICE_THREAD_COUNT, EXECUTOR_SERVICE_THREAD_COUNT_DEFAULT, GAFFER_NAMED_OPERATION_NESTED, JOB_TRACKER_ENABLED, JSON_SERIALISER_CLASS, JSON_SERIALISER_MODULES, NAMED_OPERATION_ENABLED, NAMED_VIEW_ENABLED, OPERATION_DECLARATIONS, OPERATION_DECLARATIONS_JSON, REFLECTION_PACKAGES, RESCHEDULE_JOBS_ON_START, SCHEMA_CLASS, STORE_CLASS, STORE_PROPERTIES_CLASS, STRICT_JSON
-
-
Constructor Summary
Constructors Constructor Description MapStoreProperties()MapStoreProperties(Path propFileLocation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MapStorePropertiesclone()booleangetCreateIndex()intgetIngestBufferSize()StringgetJsonSerialiserModules()StringgetMapFactory()StringgetMapFactoryConfig()booleanisStaticMap()static MapStorePropertiesloadStoreProperties(InputStream storePropertiesStream)static MapStorePropertiesloadStoreProperties(String pathStr)static MapStorePropertiesloadStoreProperties(Path storePropertiesPath)voidsetCreateIndex(boolean createIndex)voidsetIngestBufferSize(int ingestBufferSize)voidsetMapFactory(Class<? extends MapFactory> mapFactory)voidsetMapFactory(String mapFactory)voidsetMapFactoryConfig(String path)voidsetStaticMap(boolean staticMap)-
Methods inherited from class uk.gov.gchq.gaffer.store.StoreProperties
addOperationDeclarationPaths, containsKey, equals, get, get, getAdminAuth, getCacheServiceClass, getCacheServiceClass, getCacheServiceDefaultSuffix, getCacheServiceJobTrackerSuffix, getCacheServiceNamedOperationSuffix, getCacheServiceNamedViewSuffix, getDefaultCacheServiceClass, getJobExecutorThreadCount, getJobTrackerCacheServiceClass, getJobTrackerEnabled, getJsonSerialiserClass, getNamedOperationCacheServiceClass, getNamedOperationEnabled, getNamedViewCacheServiceClass, getNamedViewEnabled, getOperationDeclarationPaths, getOperationDeclarations, getProperties, getReflectionPackages, getRescheduleJobsOnStart, getSchemaClass, getSchemaClassName, getStoreClass, getStorePropertiesClass, getStorePropertiesClassName, getStrictJson, hashCode, isNestedNamedOperationAllow, isNestedNamedOperationAllow, loadStoreProperties, loadStoreProperties, loadStoreProperties, loadStoreProperties, loadStoreProperties, merge, set, setAdminAuth, setCacheServiceClass, setCacheServiceNameSuffix, setDefaultCacheServiceClass, setJobTrackerCacheServiceClass, setJobTrackerEnabled, setJsonSerialiserClass, setJsonSerialiserClass, setJsonSerialiserModules, setJsonSerialiserModules, setNamedOperationCacheServiceClass, setNamedOperationEnabled, setNamedViewCacheServiceClass, setNamedViewEnabled, setNestedNamedOperationAllow, setOperationDeclarationPaths, setProperties, setReflectionPackages, setRescheduleJobsOnStart, setSchemaClass, setSchemaClass, setStoreClass, setStoreClass, setStorePropertiesClass, setStorePropertiesClassName, setStrictJson, toString, updateStorePropertiesClass, updateStorePropertiesClass
-
-
-
-
Field Detail
-
CREATE_INDEX
public static final String CREATE_INDEX
- See Also:
- Constant Field Values
-
CREATE_INDEX_DEFAULT
public static final String CREATE_INDEX_DEFAULT
- See Also:
- Constant Field Values
-
MAP_FACTORY
public static final String MAP_FACTORY
- See Also:
- Constant Field Values
-
MAP_FACTORY_DEFAULT
public static final Class<? extends MapFactory> MAP_FACTORY_DEFAULT
-
MAP_FACTORY_CONFIG
public static final String MAP_FACTORY_CONFIG
- See Also:
- Constant Field Values
-
MAP_FACTORY_CONFIG_DEFAULT
public static final String MAP_FACTORY_CONFIG_DEFAULT
-
STATIC_MAP
public static final String STATIC_MAP
- See Also:
- Constant Field Values
-
STATIC_MAP_DEFAULT
public static final String STATIC_MAP_DEFAULT
- See Also:
- Constant Field Values
-
INGEST_BUFFER_SIZE
public static final String INGEST_BUFFER_SIZE
Property name for the ingest buffer size. If the value is set to less than 1 then no buffer is used and elements are added directly to the underlying maps.- See Also:
- Constant Field Values
-
INGEST_BUFFER_SIZE_DEFAULT
public static final int INGEST_BUFFER_SIZE_DEFAULT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MapStoreProperties
public MapStoreProperties()
-
MapStoreProperties
public MapStoreProperties(Path propFileLocation)
-
-
Method Detail
-
loadStoreProperties
public static MapStoreProperties loadStoreProperties(String pathStr)
-
loadStoreProperties
public static MapStoreProperties loadStoreProperties(InputStream storePropertiesStream)
-
loadStoreProperties
public static MapStoreProperties loadStoreProperties(Path storePropertiesPath)
-
clone
public MapStoreProperties clone()
- Overrides:
clonein classStoreProperties
-
setCreateIndex
public void setCreateIndex(boolean createIndex)
-
getCreateIndex
public boolean getCreateIndex()
-
getMapFactory
public String getMapFactory()
-
setMapFactory
public void setMapFactory(String mapFactory)
-
setMapFactory
public void setMapFactory(Class<? extends MapFactory> mapFactory)
-
getMapFactoryConfig
public String getMapFactoryConfig()
-
setMapFactoryConfig
public void setMapFactoryConfig(String path)
-
getIngestBufferSize
public int getIngestBufferSize()
-
setIngestBufferSize
public void setIngestBufferSize(int ingestBufferSize)
-
isStaticMap
public boolean isStaticMap()
-
setStaticMap
public void setStaticMap(boolean staticMap)
-
getJsonSerialiserModules
public String getJsonSerialiserModules()
- Overrides:
getJsonSerialiserModulesin classStoreProperties
-
-