|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectIndexLookupWSResource
org.gcube.indexmanagement.fulltextindexlookup.FullTextIndexLookupResource
public class FullTextIndexLookupResource
A class containing stateful information regarding an Index replication.
Constructor Summary | |
---|---|
FullTextIndexLookupResource()
Empty constructor. |
Method Summary | |
---|---|
void |
addSubPartition(org.apache.axis.message.addressing.EndpointReferenceType SubPartitionEPR)
|
void |
clearIndex()
|
java.lang.String |
createStatistics()
Creates per term statistics for the entire index. |
boolean |
expandIndex(int newPartitionStartPoint)
Expands the index with a new partition. |
java.lang.String |
getContentType()
|
java.lang.String |
getIndexFormat()
|
java.lang.Boolean |
getIsComplete()
|
java.lang.Boolean |
getIsHeadPartition()
|
org.apache.axis.message.addressing.EndpointReferenceType[] |
getSubPartitions()
|
boolean |
isReadyToDie()
|
void |
mergeAddition(java.io.File deltaIndex,
java.lang.String cmsID,
int deltaDocCount)
Merges the contents of a Addition DeltaFile into the local index replication (add documents). |
void |
mergeDeletion(java.io.File deletionFile,
java.lang.String fileID,
int documentCount)
Merges the contents of a Deletion DeltaFile into the local index replication (delete documents). |
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 |
query(SearchQuery query)
Performs a query on the local index. |
void |
setContentType(java.lang.String contenttype)
|
void |
setIndexFormat(java.lang.String indexformat)
|
void |
setIndexTypeName(java.lang.String indextypename)
|
void |
setIsComplete(java.lang.Boolean IsComplete)
|
void |
setIsHeadPartition(java.lang.Boolean IsHeadPartition)
|
void |
setSubPartitions(org.apache.axis.message.addressing.EndpointReferenceType[] SubPartitions)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FullTextIndexLookupResource()
Method Detail |
---|
public void setSubPartitions(org.apache.axis.message.addressing.EndpointReferenceType[] SubPartitions) throws java.lang.Exception
java.lang.Exception
public void addSubPartition(org.apache.axis.message.addressing.EndpointReferenceType SubPartitionEPR) throws java.lang.Exception
java.lang.Exception
public void setIsHeadPartition(java.lang.Boolean IsHeadPartition) throws java.lang.Exception
java.lang.Exception
public void setIsComplete(java.lang.Boolean IsComplete) throws java.lang.Exception
java.lang.Exception
public void setContentType(java.lang.String contenttype) throws java.lang.Exception
java.lang.Exception
public void setIndexFormat(java.lang.String indexformat) throws java.lang.Exception
java.lang.Exception
public void setIndexTypeName(java.lang.String indextypename) throws java.lang.Exception
java.lang.Exception
public java.lang.String getIndexFormat()
public java.lang.String getContentType()
public java.lang.Boolean getIsHeadPartition()
public java.lang.Boolean getIsComplete()
public org.apache.axis.message.addressing.EndpointReferenceType[] getSubPartitions()
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.Exception
public java.lang.String query(SearchQuery query) throws java.rmi.RemoteException
queryString
- String
- the query to be performed (currently using lucene syntax)
String
- representation of the EPR for a resultset service which holds the results of the query.
java.rmi.RemoteException
public boolean expandIndex(int newPartitionStartPoint) throws java.lang.Exception
newPartitionStartPoint
- int
- the starting point of the new partition (delta file number/idx)
boolean
- true if expansion was successful
java.lang.Exception
public java.lang.String createStatistics() throws IndexException
String
- the EPR of a BLOB ResultSet containing the statistics file
IndexException
public void mergeAddition(java.io.File deltaIndex, java.lang.String cmsID, int deltaDocCount) throws IndexException
deltaIndex
- File
- the DeltaFile to be merged into the local index replicationcmsID
- String
- the ID the retrieved file has in CMS
IndexException
org.gcube.indexmanagement.storagehandling.DeltaFileMerger
public void clearIndex() throws IndexException
IndexException
public void mergeDeletion(java.io.File deletionFile, java.lang.String fileID, int documentCount) throws IndexException
deletionFile
- File
- the DeltaFile to be merged into the local index replicationfileID
- String
- the ID the retrieved file has in StoragedocumentCount
- int
- the number if documents present in the DeltaFile
IndexException
org.diligentproject.indexservice.storagehandling.DeltaFileMerger
public void onResourceRemoval()
public boolean isReadyToDie()
public void onLookupNotificationReceived(org.w3c.dom.Element message)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |