Class FederatedStoreProperties
- java.lang.Object
-
- uk.gov.gchq.gaffer.store.StoreProperties
-
- uk.gov.gchq.gaffer.federated.simple.FederatedStoreProperties
-
- All Implemented Interfaces:
Cloneable
public class FederatedStoreProperties extends StoreProperties
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROP_ALLOW_PUBLIC_GRAPHS
Property key for setting if public graphs can be added to the store or notstatic String
PROP_DEFAULT_GRAPH_IDS
Property key for federated stores default graph IDsstatic String
PROP_DEFAULT_MERGE_ELEMENTS
Property key for setting if the default is to apply element aggregation or notstatic String
PROP_GRAPH_CACHE_NAME
Property key for setting a custom name for the graph cache, by default this will be "federatedGraphCache_" followed by the federated graph ID.static String
PROP_MERGE_CLASS_BOOLEAN
Property key for the class to use when merging boolean resultsstatic String
PROP_MERGE_CLASS_COLLECTION
Property key for the class to use when merging collection resultsstatic String
PROP_MERGE_CLASS_ELEMENTS
Property key for the class to use when merging elementsstatic String
PROP_MERGE_CLASS_MAP
Property key for the class to use when merging values of a Map resultstatic String
PROP_MERGE_CLASS_NUMBER
Property key for the class to use when merging number resultsstatic String
PROP_MERGE_CLASS_STRING
Property key for the class to use when merging string results-
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 FederatedStoreProperties()
FederatedStoreProperties(Path propFileLocation)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FederatedStoreProperties
loadStoreProperties(InputStream storePropertiesStream)
static FederatedStoreProperties
loadStoreProperties(String pathStr)
static FederatedStoreProperties
loadStoreProperties(Path storePropertiesPath)
-
Methods inherited from class uk.gov.gchq.gaffer.store.StoreProperties
addOperationDeclarationPaths, clone, containsKey, equals, get, get, getAdminAuth, getCacheServiceClass, getCacheServiceClass, getCacheServiceDefaultSuffix, getCacheServiceJobTrackerSuffix, getCacheServiceNamedOperationSuffix, getCacheServiceNamedViewSuffix, getDefaultCacheServiceClass, getJobExecutorThreadCount, getJobTrackerCacheServiceClass, getJobTrackerEnabled, getJsonSerialiserClass, getJsonSerialiserModules, 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
-
PROP_DEFAULT_GRAPH_IDS
public static final String PROP_DEFAULT_GRAPH_IDS
Property key for federated stores default graph IDs- See Also:
- Constant Field Values
-
PROP_DEFAULT_MERGE_ELEMENTS
public static final String PROP_DEFAULT_MERGE_ELEMENTS
Property key for setting if the default is to apply element aggregation or not- See Also:
- Constant Field Values
-
PROP_ALLOW_PUBLIC_GRAPHS
public static final String PROP_ALLOW_PUBLIC_GRAPHS
Property key for setting if public graphs can be added to the store or not- See Also:
- Constant Field Values
-
PROP_GRAPH_CACHE_NAME
public static final String PROP_GRAPH_CACHE_NAME
Property key for setting a custom name for the graph cache, by default this will be "federatedGraphCache_" followed by the federated graph ID.- See Also:
- Constant Field Values
-
PROP_MERGE_CLASS_NUMBER
public static final String PROP_MERGE_CLASS_NUMBER
Property key for the class to use when merging number results- See Also:
- Constant Field Values
-
PROP_MERGE_CLASS_STRING
public static final String PROP_MERGE_CLASS_STRING
Property key for the class to use when merging string results- See Also:
- Constant Field Values
-
PROP_MERGE_CLASS_BOOLEAN
public static final String PROP_MERGE_CLASS_BOOLEAN
Property key for the class to use when merging boolean results- See Also:
- Constant Field Values
-
PROP_MERGE_CLASS_COLLECTION
public static final String PROP_MERGE_CLASS_COLLECTION
Property key for the class to use when merging collection results- See Also:
- Constant Field Values
-
PROP_MERGE_CLASS_MAP
public static final String PROP_MERGE_CLASS_MAP
Property key for the class to use when merging values of a Map result- See Also:
- Constant Field Values
-
PROP_MERGE_CLASS_ELEMENTS
public static final String PROP_MERGE_CLASS_ELEMENTS
Property key for the class to use when merging elements- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FederatedStoreProperties
public FederatedStoreProperties()
-
FederatedStoreProperties
public FederatedStoreProperties(Path propFileLocation)
-
-
Method Detail
-
loadStoreProperties
public static FederatedStoreProperties loadStoreProperties(String pathStr)
-
loadStoreProperties
public static FederatedStoreProperties loadStoreProperties(InputStream storePropertiesStream)
-
loadStoreProperties
public static FederatedStoreProperties loadStoreProperties(Path storePropertiesPath)
-
-