public class HPCCWsTopologyClient extends BaseHPCCWsClient
| Modifier and Type | Field and Description |
|---|---|
static String |
WSTOPOLOGYWSDLURI |
DEAFULTECLWATCHPORT, DEFAULTECLWATCHTLSPORT, initErrMessage, stub, targetESPInterfaceVer, targetHPCCBuildVersion, verbose, wsconn| Modifier | Constructor and Description |
|---|---|
protected |
HPCCWsTopologyClient(Connection baseConnection)
Instantiates a new HPCC ws topology client.
|
| Modifier and Type | Method and Description |
|---|---|
static HPCCWsTopologyClient |
get(Connection connection)
Gets the.
|
static HPCCWsTopologyClient |
get(String protocol,
String targetHost,
String targetPort,
String user,
String pass)
Gets the.
|
static HPCCWsTopologyClient |
get(String protocol,
String targetHost,
String targetPort,
String user,
String pass,
int timeout)
Gets the.
|
TpClusterInfoResponseWrapper |
getClusterInfo(String clusterName)
Gets the cluster info.
|
org.apache.axis2.client.Stub |
getDefaultStub()
Gets the default stub.
|
List<TpLogicalClusterWrapper> |
getLogicalClusters()
Gets the logical clusters.
|
TpServicesWrapper |
getServices()
Gets the services.
|
String |
getServiceURI()
Gets the service URI.
|
static int |
getServiceWSDLPort()
Gets the service WSDL port.
|
static String |
getServiceWSDLURL()
Gets the service WSDLURL.
|
String[] |
getValidClusterNames(String clusterGroupType)
Gets the valid cluster names.
|
List<String> |
getValidTargetClusterNames()
Get the names of all available target clusters (mythor, myroxie, etc.) from all cluster groups (hthor, thor, roxie, etc)
|
String[] |
getValidTargetClusterNames(String clusterGroupType)
Get the names of all available target clusters from a given cluster group (hthor, thor, roxie, Hole, etc).
|
String[] |
getValidTargetClusterNamesArray()
Get the names of all available target clusters (mythor, myroxie, etc.) from all cluster groups (hthor, thor, roxie, etc)
|
String[] |
getValidTargetGroupNames()
Get names of all available target clusters on the given HPCC System.
|
List<TpTargetClusterWrapper> |
getValidTargetGroups()
Get full descriptions of all valid cluster groups on the target HPCC System.
|
boolean |
ping()
Ping.
|
boolean |
printValidTargetClusters(PrintStream stream)
prints available target cluster names to given print stream.
|
TpDropZoneWrapper |
queryDropzone(String name)
Query dropzone.
|
List<TpMachineWrapper> |
queryDropzoneMachines(String name)
Query dropzone machines.
|
List<TpDropZoneWrapper> |
queryDropzones(String namefilter)
Query dropzones.
|
compatibilityCheck, compatibilityCheck, equals, fastRefresh, fullRefresh, getConnectionURL, getInitError, getServiceVersion, getServiceVersion, getServiceWSDLPort, getServiceWSDLURL, getStubConnectionTO, getTargetESPInterfaceVersion, getVerbose, handleECLExceptions, handleECLExceptions, handleEspExceptions, handleEspExceptions, handleEspSoapFaults, handleEspSoapFaults, hashCode, hasInitError, isComplete, loadESPRuntimeInterfaceVer, setActiveConnectionInfo, setClientAuth, setStubConnectionTO, setStubOptions, setVerbose, verifyStubmonitoraddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic static final String WSTOPOLOGYWSDLURI
protected HPCCWsTopologyClient(Connection baseConnection)
baseConnection - the base connectionpublic String getServiceURI()
getServiceURI in class BaseHPCCWsClientpublic static String getServiceWSDLURL()
public static int getServiceWSDLPort()
public static HPCCWsTopologyClient get(Connection connection)
connection - the connectionpublic static HPCCWsTopologyClient get(String protocol, String targetHost, String targetPort, String user, String pass)
protocol - the protocoltargetHost - the target hosttargetPort - the target portuser - the userpass - the passpublic static HPCCWsTopologyClient get(String protocol, String targetHost, String targetPort, String user, String pass, int timeout)
protocol - the protocoltargetHost - the target hosttargetPort - the target portuser - the userpass - the passtimeout - the timeoutpublic boolean printValidTargetClusters(PrintStream stream) throws Exception, ArrayOfEspExceptionWrapper
stream - - Stream to print onto (System.out | System.err)Exception - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic List<TpTargetClusterWrapper> getValidTargetGroups() throws Exception, ArrayOfEspExceptionWrapper
Exception - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic String[] getValidTargetGroupNames() throws Exception, ArrayOfEspExceptionWrapper
Exception - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic TpDropZoneWrapper queryDropzone(String name) throws Exception, ArrayOfEspExceptionWrapper
name - - The target dropzone nameException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic List<TpDropZoneWrapper> queryDropzones(String namefilter) throws Exception, ArrayOfEspExceptionWrapper
namefilter - - Empty for all dropzones, or specific dropzeon nameException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic List<TpMachineWrapper> queryDropzoneMachines(String name) throws Exception, ArrayOfEspExceptionWrapper
name - the nameException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic String[] getValidClusterNames(String clusterGroupType) throws Exception
clusterGroupType - the cluster group typeException - the exceptionpublic String[] getValidTargetClusterNames(String clusterGroupType) throws Exception, ArrayOfEspExceptionWrapper
clusterGroupType - -- RoxieCluster, HoleClusterException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic String[] getValidTargetClusterNamesArray() throws Exception, ArrayOfEspExceptionWrapper
Exception - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic List<String> getValidTargetClusterNames() throws Exception, ArrayOfEspExceptionWrapper
Exception - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic TpServicesWrapper getServices() throws Exception, ArrayOfEspExceptionWrapper
Exception - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic TpClusterInfoResponseWrapper getClusterInfo(String clusterName) throws Exception, ArrayOfEspExceptionWrapper
clusterName - the cluster nameException - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic List<TpLogicalClusterWrapper> getLogicalClusters() throws Exception, ArrayOfEspExceptionWrapper
Exception - the exceptionArrayOfEspExceptionWrapper - the array of esp exception wrapperpublic boolean ping()
throws Exception
Exception - the exceptionpublic org.apache.axis2.client.Stub getDefaultStub()
throws org.apache.axis2.AxisFault
BaseHPCCWsClientgetDefaultStub in class BaseHPCCWsClientorg.apache.axis2.AxisFault - the axis faultCopyright © 2021. All rights reserved.