|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectIndexLookupWSResource
org.gcube.indexmanagement.geoindexlookup.GeoIndexLookupResource
public class GeoIndexLookupResource
A class containing stateful information regarding an Index replication.
| Field Summary | |
|---|---|
static java.lang.String |
RP_GEOGRAPHICAL_SYSTEM
|
static java.lang.String |
RP_ISCOMPLETE
|
static java.lang.String |
RP_NUMBER_OF_DECIMALS
|
static java.lang.String |
RP_REFINER_INFO
|
static java.lang.String |
RP_SORTER_INFO
|
static java.lang.String |
RP_UNIT_OF_MEASUREMENT
|
| Constructor Summary | |
|---|---|
GeoIndexLookupResource()
|
|
| Method Summary | |
|---|---|
void |
clearIndex()
|
java.lang.String |
getGeographicalSystem()
Getter method for the GeographicalSystem Resource Property |
java.lang.Boolean |
getIsComplete()
Getter method for the IsComplete Resource Property |
java.lang.Integer |
getNumberOfDecimals()
Getter method for the NumberOfDecimals Resource Property |
RefinerInfoType |
getRefinerInfo()
Getter method for the RefinerInfo Resource Property |
SorterInfoType |
getSorterInfo()
Getter method for the SorterInfo Resource Property |
java.lang.String |
getUnitOfMeasurement()
Getter method for the UnitOfMeasurement Resource Property |
void |
initialise(java.lang.Object... args)
This method is used to initialize the resource instance, and must be called before using the resource instance. |
boolean |
isReadyToDie()
A method to check if the resource has finished its tasks and is ready to die. |
void |
loadPlugins()
A method used to reload all plugins from the plugin directory. |
void |
mergeAddition(java.io.File file,
java.lang.String cmsID,
int docCount)
Merges the contents of a Addition DeltaFile into the local index replication (add documents). |
void |
mergeDeletion(java.io.File file,
java.lang.String cmsID,
int docCount)
Not implemented. |
void |
onLoad(java.io.ObjectInputStream ois,
boolean firstLoad)
|
void |
onLookupNotificationReceived(org.w3c.dom.Element message)
|
void |
onResourceRemoval()
|
void |
onStore(java.io.ObjectOutputStream oos)
|
java.lang.String |
search(java.lang.String cqlQuery,
boolean noncomplete)
Performs a spatial query. |
void |
setGeographicalSystem(java.lang.String geographicalSystem)
Setter method for the GeographicalSystem Resource Property |
void |
setIndexTypeID(java.lang.String indexTypeID)
Setter method for the IndexTypeName Resource Property |
void |
setIsComplete(java.lang.Boolean IsComplete)
Setter method for the IsComplete Resource Property |
void |
setNumberOfDecimals(java.lang.Integer numberOfDecimals)
Setter method for the NumberOfDecimals Resource Property |
void |
setRefinerInfo(RefinerInfoType refinerInfo)
Setter method for the RefinerInfo Resource Property |
void |
setSorterInfo(SorterInfoType sorterInfo)
Setter method for the SorterInfo Resource Property |
void |
setUnitOfMeasurement(java.lang.String unitOfMeasurement)
Setter method for the UnitOfMeasurement Resource Property |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String RP_GEOGRAPHICAL_SYSTEM
public static final java.lang.String RP_UNIT_OF_MEASUREMENT
public static final java.lang.String RP_NUMBER_OF_DECIMALS
public static final java.lang.String RP_SORTER_INFO
public static final java.lang.String RP_REFINER_INFO
public static final java.lang.String RP_ISCOMPLETE
| Constructor Detail |
|---|
public GeoIndexLookupResource()
| Method Detail |
|---|
public void initialise(java.lang.Object... args)
throws java.lang.Exception
args[0] - - key GCUBEWSResourceKey - the key of the resourceargs[1] - - indexID String - the ID of the index to updateargs[2] - - indexTypeID String - the ID of the IndexType of the indexargs[3] - - collectionID String[] - a list of IDs of the collections to feed fromargs[4] - - geographicalSystem String - the geographical system used for the Index (WGS_1984, none...)args[5] - - unitOfMeasurement String - the unit of measurement used in the Index (DD, DecimalDegrees, cm, CentiMeters...)args[6] - - numberOfDecimals Integer - the maximum number of decimals in the coordinates of objects (usually 4 for decimal degrees).
java.lang.Exceptionorg.gcube.indexmanagement.geoindexmanagement.stubs.GeoIndexManagementFactoryPortType
public void onStore(java.io.ObjectOutputStream oos)
throws java.lang.Exception
java.lang.Exception
public void onLoad(java.io.ObjectInputStream ois,
boolean firstLoad)
throws java.lang.Exception
java.lang.Exceptionpublic void loadPlugins()
public SorterInfoType getSorterInfo()
SorterInfoType the requested SorterInfopublic RefinerInfoType getRefinerInfo()
RefinerInfoType the requested RefinerInfopublic java.lang.String getGeographicalSystem()
String the requested GeographicalSystem identifierpublic java.lang.String getUnitOfMeasurement()
String the requested UnitOfMeasurementpublic java.lang.Integer getNumberOfDecimals()
Integer the requested NumberOfDecimals valuepublic java.lang.Boolean getIsComplete()
Boolean the requested IsComplete flag
public void setIsComplete(java.lang.Boolean IsComplete)
throws java.lang.Exception
IsComplete - Boolean the IsComplete hint
java.lang.Exceptionpublic void setGeographicalSystem(java.lang.String geographicalSystem)
indexID - String the new GeographicalSystem identifierpublic void setUnitOfMeasurement(java.lang.String unitOfMeasurement)
indexID - String the new UnitOfMeasurementpublic void setNumberOfDecimals(java.lang.Integer numberOfDecimals)
numberOfDecimals - Integer the new NumberOfDecimalspublic void setSorterInfo(SorterInfoType sorterInfo)
sorterInfo - SorterInfoType the new SorterInfopublic void setRefinerInfo(RefinerInfoType refinerInfo)
refinerInfo - RefinerInfoType the new RefinerInfo
public void setIndexTypeID(java.lang.String indexTypeID)
throws java.lang.Exception
indexTypeName - String the new IndexTypeName
java.lang.Exceptionpublic boolean isReadyToDie()
public java.lang.String search(java.lang.String cqlQuery,
boolean noncomplete)
throws java.lang.Exception
poly - SearchPolygon - A stub containing a polygonal area to search,
along with an optional Ranking request and an optional list of Refinement requests.
RSLocator - RSLocator of the ResultSet containing the results of the query.
java.lang.Exception
public void mergeAddition(java.io.File file,
java.lang.String cmsID,
int docCount)
throws IndexException
deltaIndex - File - the DeltaFile to be merged into the local index replicationcmsID - String - the ID the retrieved file has in CMS
IndexExceptionorg.diligentproject.indexservice.storagehandling.DeltaFileMerger
public void mergeDeletion(java.io.File file,
java.lang.String cmsID,
int docCount)
throws IndexException
deletionFile - File - the DeltaFile to be merged into the local index replicationcmsID - String - the ID the retrieved file has in CMS
IndexExceptionorg.diligentproject.indexservice.storagehandling.DeltaFileMerger
public void clearIndex()
throws IndexException
IndexExceptionpublic void onResourceRemoval()
public void onLookupNotificationReceived(org.w3c.dom.Element message)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||