public class ShowGraphResponse extends Object implements org.apache.avro.generic.IndexedRecord
GPUdb.showGraph(ShowGraphRequest).| Constructor and Description |
|---|
ShowGraphResponse()
Constructs a ShowGraphResponse object with default parameters.
|
public ShowGraphResponse()
public static org.apache.avro.Schema getClassSchema()
public boolean getResult()
public ShowGraphResponse setResult(boolean result)
result - Indicates a success. This call will fail if the graph
specified in the request does not exist.this to mimic the builder pattern.public List<Integer> getLoad()
public ShowGraphResponse setLoad(List<Integer> load)
load - A percentage approximating the current computational load
on the server.this to mimic the builder pattern.public ShowGraphResponse setMemory(List<Long> memory)
memory - Available memory.this to mimic the builder pattern.public ShowGraphResponse setGraphNames(List<String> graphNames)
graphNames - Name(s) of the graph(s).this to mimic the builder pattern.public ShowGraphResponse setGraphServerIds(List<Integer> graphServerIds)
graphServerIds - Id(s) of the graph(s).this to mimic the builder pattern.public List<String> getGraphOwnerUserNames()
public ShowGraphResponse setGraphOwnerUserNames(List<String> graphOwnerUserNames)
graphOwnerUserNames - Owner of the graph(s) and associated
solution table(s).this to mimic the builder pattern.public List<String> getGraphOwnerResourceGroups()
public ShowGraphResponse setGraphOwnerResourceGroups(List<String> graphOwnerResourceGroups)
graphOwnerResourceGroups - Owner of the resource groups(s) of the
graph(s).this to mimic the builder pattern.public List<Boolean> getDirected()
public ShowGraphResponse setDirected(List<Boolean> directed)
directed - 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.this to mimic the builder pattern.public ShowGraphResponse setNumNodes(List<Long> numNodes)
numNodes - Total number of nodes in the graph.this to mimic the builder pattern.public ShowGraphResponse setNumEdges(List<Long> numEdges)
numEdges - Total number of edges in the graph.this to mimic the builder pattern.public ShowGraphResponse setNumBytes(List<Long> numBytes)
numBytes - Memory this graph uses in bytes.this to mimic the builder pattern.public List<Long> getResourceCapacity()
public ShowGraphResponse setResourceCapacity(List<Long> resourceCapacity)
resourceCapacity - Memory this graph uses in bytes.this to mimic the builder pattern.public List<Boolean> getIsPersisted()
public ShowGraphResponse setIsPersisted(List<Boolean> isPersisted)
isPersisted - Shows whether or not the graph is persisted (saved
and loaded on launch).this to mimic the builder pattern.public List<Boolean> getIsPartitioned()
public ShowGraphResponse setIsPartitioned(List<Boolean> isPartitioned)
isPartitioned - Indicated if the graph data is distributed across
all available servers.this to mimic the builder pattern.public List<Boolean> getIsSyncDb()
public ShowGraphResponse setIsSyncDb(List<Boolean> isSyncDb)
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.this to mimic the builder pattern.public List<Boolean> getHasInsertTableMonitor()
public ShowGraphResponse setHasInsertTableMonitor(List<Boolean> hasInsertTableMonitor)
hasInsertTableMonitor - Shows whether or not the graph has an
insert table monitor attached to it.this to mimic the builder pattern.public List<String> getOriginalRequest()
public ShowGraphResponse setOriginalRequest(List<String> originalRequest)
originalRequest - The original client request used to create the
graph (before any expression evaluation or
separator processing).this to mimic the builder pattern.public ShowGraphResponse setInfo(Map<String,String> info)
info - Additional information.this to mimic the builder pattern.public org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainerpublic Object get(int index)
get in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to getIndexOutOfBoundsExceptionpublic void put(int index,
Object value)
put in interface org.apache.avro.generic.IndexedRecordindex - the position of the field to setvalue - the value to setIndexOutOfBoundsExceptionCopyright © 2024. All rights reserved.