org.gcube.index.fulltextindexnode
Class FullTextIndexNode

java.lang.Object
  extended by org.gcube.common.core.porttypes.GCUBEPortType
      extended by org.gcube.index.fulltextindexnode.FullTextIndexNode
All Implemented Interfaces:
javax.xml.rpc.server.ServiceLifecycle

public class FullTextIndexNode
extends org.gcube.common.core.porttypes.GCUBEPortType


Field Summary
protected static String FACTORY
           
protected static String SERVICE_CLASS
           
protected static String SERVICE_NAME
           
protected static int TIMEOUT
           
 
Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType
initialized
 
Constructor Summary
FullTextIndexNode()
           
 
Method Summary
 boolean destroyNode(org.gcube.common.core.types.VOID voidType)
           
static HashMap<String,Set<String>> discover(String serviceName, String serviceClass, List<String> scopes, String clusterID)
           
static HashMap<String,Set<String>> discoverFulltextIndexNodes(List<String> scopes, String clusterID)
           
 boolean feedLocator(String resultSetLocation)
           
 org.gcube.index.fulltextindexnode.stubs.GetIndexInformationResponse getIndexInformation(org.gcube.common.core.types.VOID request)
           
protected  ServiceContext getServiceContext()
          
protected  void onReady()
           
 String query(String queryString)
           
 boolean rebuildMetaIndex(org.gcube.common.core.types.VOID voidType)
           
 boolean refresh(org.gcube.common.core.types.VOID voidType)
           
 boolean setCollections(org.gcube.index.fulltextindexnode.stubs.StringArray collectionIDs)
           
 boolean setFields(org.gcube.index.fulltextindexnode.stubs.StringArray fields)
           
 boolean shutdown(String nothing)
           
 
Methods inherited from class org.gcube.common.core.porttypes.GCUBEPortType
destroy, init, onFailure, onInitialisation, onStateChange, onUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORY

protected static final String FACTORY
See Also:
Constant Field Values

SERVICE_NAME

protected static final String SERVICE_NAME
See Also:
Constant Field Values

SERVICE_CLASS

protected static final String SERVICE_CLASS
See Also:
Constant Field Values

TIMEOUT

protected static final int TIMEOUT
See Also:
Constant Field Values
Constructor Detail

FullTextIndexNode

public FullTextIndexNode()
Method Detail

onReady

protected void onReady()
                throws Exception
Overrides:
onReady in class org.gcube.common.core.porttypes.GCUBEPortType
Throws:
Exception

getServiceContext

protected ServiceContext getServiceContext()

Specified by:
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortType

getIndexInformation

public org.gcube.index.fulltextindexnode.stubs.GetIndexInformationResponse getIndexInformation(org.gcube.common.core.types.VOID request)
                                                                                        throws org.gcube.common.core.faults.GCUBEFault
Throws:
org.gcube.common.core.faults.GCUBEFault

feedLocator

public boolean feedLocator(String resultSetLocation)

query

public String query(String queryString)

shutdown

public boolean shutdown(String nothing)

destroyNode

public boolean destroyNode(org.gcube.common.core.types.VOID voidType)

refresh

public boolean refresh(org.gcube.common.core.types.VOID voidType)

rebuildMetaIndex

public boolean rebuildMetaIndex(org.gcube.common.core.types.VOID voidType)

setCollections

public boolean setCollections(org.gcube.index.fulltextindexnode.stubs.StringArray collectionIDs)
                       throws org.gcube.common.core.faults.GCUBEFault
Throws:
org.gcube.common.core.faults.GCUBEFault

setFields

public boolean setFields(org.gcube.index.fulltextindexnode.stubs.StringArray fields)
                  throws org.gcube.common.core.faults.GCUBEFault
Throws:
org.gcube.common.core.faults.GCUBEFault

discover

public static HashMap<String,Set<String>> discover(String serviceName,
                                                   String serviceClass,
                                                   List<String> scopes,
                                                   String clusterID)

discoverFulltextIndexNodes

public static HashMap<String,Set<String>> discoverFulltextIndexNodes(List<String> scopes,
                                                                     String clusterID)


Copyright © 2013. All Rights Reserved.