Package com.gpudb.protocol
Class ShowGraphResponse
java.lang.Object
com.gpudb.protocol.ShowGraphResponse
All Implemented Interfaces:
org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecordA set of results returned by
GPUdb.showGraph.Method Summary
Modifier and TypeMethodDescriptionbooleanget(int index) This method supports the Avro framework and is not intended to be called directly by the user.static org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.Whether or not the edges of the graph have directions (bi-directional edges can still exist in directed graphs).Name(s) of the graph(s).Owner of the resource groups(s) of the graph(s).Owner of the graph(s) and associated solution table(s).Id(s) of the graph(s).Shows whether or not the graph has an insert table monitor attached to it.getInfo()Additional information.Indicates if the graph data is distributed across all available servers.Shows whether or not the graph is persisted (saved and loaded on launch).Shows whether or not the graph is linked to the original tables that created it, and will potentially be re-created instead loaded from persist on launch.getLoad()A percentage approximating the current computational load on the server.Available memory.Memory this graph uses in bytes.Total number of edges in the graph.Total number of nodes in the graph.The original client request used to create the graph (before any expression evaluation or separator processing).Memory this graph uses in bytes.booleanIndicates a success.org.apache.avro.SchemaThis method supports the Avro framework and is not intended to be called directly by the user.inthashCode()voidThis method supports the Avro framework and is not intended to be called directly by the user.setDirected(List<Boolean> directed) Whether or not the edges of the graph have directions (bi-directional edges can still exist in directed graphs).setGraphNames(List<String> graphNames) Name(s) of the graph(s).setGraphOwnerResourceGroups(List<String> graphOwnerResourceGroups) Owner of the resource groups(s) of the graph(s).setGraphOwnerUserNames(List<String> graphOwnerUserNames) Owner of the graph(s) and associated solution table(s).setGraphServerIds(List<Integer> graphServerIds) Id(s) of the graph(s).setHasInsertTableMonitor(List<Boolean> hasInsertTableMonitor) Shows whether or not the graph has an insert table monitor attached to it.Additional information.setIsPartitioned(List<Boolean> isPartitioned) Indicates if the graph data is distributed across all available servers.setIsPersisted(List<Boolean> isPersisted) Shows whether or not the graph is persisted (saved and loaded on launch).setIsSyncDb(List<Boolean> isSyncDb) Shows whether or not the graph is linked to the original tables that created it, and will potentially be re-created instead loaded from persist on launch.A percentage approximating the current computational load on the server.Available memory.setNumBytes(List<Long> numBytes) Memory this graph uses in bytes.setNumEdges(List<Long> numEdges) Total number of edges in the graph.setNumNodes(List<Long> numNodes) Total number of nodes in the graph.setOriginalRequest(List<String> originalRequest) The original client request used to create the graph (before any expression evaluation or separator processing).setResourceCapacity(List<Long> resourceCapacity) Memory this graph uses in bytes.setResult(boolean result) Indicates a success.toString()
Method Details
getDirected
Whether or not the edges of the graph have directions (bi-directional edges can still exist in directed graphs). Consult Directed Graphs for more details.Returns:The current value ofdirected.setDirected
Whether or not the edges of the graph have directions (bi-directional edges can still exist in directed graphs). Consult Directed Graphs for more details.Parameters:directed- The new value fordirected.Returns:thisto mimic the builder pattern.