|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.opensearch.opensearchoperator.OpenSearchOpConfig
public class OpenSearchOpConfig
Configuration class parameterizing the operation of the OpenSearchOp
Field Summary | |
---|---|
java.lang.String |
dirPath
The directory to look for resources when operating in local mode |
static java.lang.String |
dirPathDef
|
java.util.Map<java.lang.String,FactoryClassNamePair> |
factories
The factory class names of the implemented factories associated with the namespaces for which they provide functionality A factory associated with the standard OpenSearch namespace is expected to be always present in this mapping |
ISOpenSearchResourceCache |
ISCache
Resource cache, to be further populated by ISResourceRepository . |
java.lang.Integer |
resultsPerPage
The number of results that the operator requests for each page |
static java.lang.Integer |
resultsPerPageDef
The default number of results requested per page |
java.lang.String |
schemaPath
The directory to look for a schema defining the OpenSearchResource validation is enabled |
static java.lang.String |
schemaPathDef
|
java.lang.Boolean |
sequentialResults
If false, result retrieval from brokered resources is performed by separate threads |
static java.lang.Boolean |
sequentialResultsDef
The default value for the sequentialResults configuration parameter |
java.lang.Boolean |
useLocalResourceRepository
If false, OpenSearchResource retrieval is performed using an ISResourceRepository
Otherwise, OpenSearchResource s are retrieved locally (either from the local filesystem or from a url) using a LocalResourceRepository |
static java.lang.Boolean |
useLocalResourceRepositoryDef
The default value for useLocalResourceRepository |
Constructor Summary | |
---|---|
OpenSearchOpConfig()
No-arg constructor. |
|
OpenSearchOpConfig(java.lang.Integer resultsPerPage,
java.lang.Boolean serializeSources,
java.lang.Boolean useLocalResourceRespository,
java.util.Map<java.lang.String,FactoryClassNamePair> factories)
Creates a new OpenSearchOpConfig with values overriding the defaults |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String dirPathDef
public static final java.lang.String schemaPathDef
public static final java.lang.Integer resultsPerPageDef
public static final java.lang.Boolean sequentialResultsDef
public static final java.lang.Boolean useLocalResourceRepositoryDef
useLocalResourceRepository
public java.lang.String dirPath
public java.lang.String schemaPath
public ISOpenSearchResourceCache ISCache
ISResourceRepository
.
Set only if this#useLocalResourceRepository
is false
public java.lang.Integer resultsPerPage
public java.lang.Boolean sequentialResults
public java.lang.Boolean useLocalResourceRepository
OpenSearchResource
retrieval is performed using an ISResourceRepository
Otherwise, OpenSearchResource
s are retrieved locally (either from the local filesystem or from a url) using a LocalResourceRepository
public java.util.Map<java.lang.String,FactoryClassNamePair> factories
Constructor Detail |
---|
public OpenSearchOpConfig()
public OpenSearchOpConfig(java.lang.Integer resultsPerPage, java.lang.Boolean serializeSources, java.lang.Boolean useLocalResourceRespository, java.util.Map<java.lang.String,FactoryClassNamePair> factories)
resultsPerPage
- The number of results to be requested per page. If null, the default value will be usedserializeSources
- true if the client wishes the results to be obtained from the OpenSearch provider serially, false
otherwise. Use false to increase performance.useLocalResourceRespository
- true if an IS is not available for the retrieval and persistence of OpenSearch resources.
In that case, the local FS and/or the network will be used instead. False, if an IS can be used.factories
- The factory class names of the implemented factories associated with the namespaces for which they provide functionality
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |