org.gcube.index.forwardindexnode
Class ForwardIndexNode

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

public class ForwardIndexNode
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
ForwardIndexNode()
           
 
Method Summary
 boolean addKeyDescription(org.gcube.index.forwardindexnode.stubs.KeyDescriptionArray kda)
           
 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>> discoverByIndexID(String serviceName, String serviceClass, List<String> scopes, String indexID, String epr)
           
static HashMap<String,Set<String>> discoverForwardIndexNodes(List<String> scopes, String clusterID)
           
 boolean feedLocator(String resultSetLocation)
           
 org.gcube.index.forwardindexnode.stubs.GetIndexInformationResponse getIndexInformation(org.gcube.common.core.types.VOID request)
           
protected  ServiceContext getServiceContext()
          
static void main(String[] args)
           
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.forwardindexnode.stubs.StringArray collectionIDs)
           
 boolean setFields(org.gcube.index.forwardindexnode.stubs.StringArray fields)
           
 boolean setKeyDescription(org.gcube.index.forwardindexnode.stubs.KeyDescriptionArray kda)
           
 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

ForwardIndexNode

public ForwardIndexNode()
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.forwardindexnode.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.forwardindexnode.stubs.StringArray collectionIDs)
                       throws org.gcube.common.core.faults.GCUBEFault
Throws:
org.gcube.common.core.faults.GCUBEFault

setFields

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

addKeyDescription

public boolean addKeyDescription(org.gcube.index.forwardindexnode.stubs.KeyDescriptionArray kda)
                          throws org.gcube.common.core.faults.GCUBEFault
Throws:
org.gcube.common.core.faults.GCUBEFault

setKeyDescription

public boolean setKeyDescription(org.gcube.index.forwardindexnode.stubs.KeyDescriptionArray kda)
                          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)

discoverByIndexID

public static HashMap<String,Set<String>> discoverByIndexID(String serviceName,
                                                            String serviceClass,
                                                            List<String> scopes,
                                                            String indexID,
                                                            String epr)

discoverForwardIndexNodes

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

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.