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 StringPROP_ALLOW_PUBLIC_GRAPHSProperty key for setting if public graphs can be added to the store or notstatic StringPROP_DEFAULT_GRAPH_IDSProperty key for federated stores default graph IDsstatic StringPROP_DEFAULT_MERGE_ELEMENTSProperty key for setting if the default is to apply element aggregation or notstatic StringPROP_GRAPH_CACHE_NAMEProperty key for setting a custom name for the graph cache, by default this will be "federatedGraphCache_" followed by the federated graph ID.static StringPROP_MERGE_CLASS_BOOLEANProperty key for the class to use when merging boolean resultsstatic StringPROP_MERGE_CLASS_COLLECTIONProperty key for the class to use when merging collection resultsstatic StringPROP_MERGE_CLASS_ELEMENTSProperty key for the class to use when merging elementsstatic StringPROP_MERGE_CLASS_MAPProperty key for the class to use when merging values of a Map resultstatic StringPROP_MERGE_CLASS_NUMBERProperty key for the class to use when merging number resultsstatic StringPROP_MERGE_CLASS_STRINGProperty 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 FederatedStorePropertiesloadStoreProperties(InputStream storePropertiesStream)static FederatedStorePropertiesloadStoreProperties(String pathStr)static FederatedStorePropertiesloadStoreProperties(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)
-
-