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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Object |
get(int index)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
static org.apache.avro.Schema |
getClassSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
List<Boolean> |
getDirected() |
List<String> |
getGraphNames() |
List<Boolean> |
getHasInsertTableMonitor() |
Map<String,String> |
getInfo() |
List<Boolean> |
getIsPersisted() |
List<Boolean> |
getIsSyncDb() |
List<Long> |
getNumEdges() |
List<Long> |
getNumNodes() |
List<String> |
getOriginalRequest() |
boolean |
getResult() |
org.apache.avro.Schema |
getSchema()
This method supports the Avro framework and is not intended to be called
directly by the user.
|
int |
hashCode() |
void |
put(int index,
Object value)
This method supports the Avro framework and is not intended to be called
directly by the user.
|
ShowGraphResponse |
setDirected(List<Boolean> directed) |
ShowGraphResponse |
setGraphNames(List<String> graphNames) |
ShowGraphResponse |
setHasInsertTableMonitor(List<Boolean> hasInsertTableMonitor) |
ShowGraphResponse |
setInfo(Map<String,String> info) |
ShowGraphResponse |
setIsPersisted(List<Boolean> isPersisted) |
ShowGraphResponse |
setIsSyncDb(List<Boolean> isSyncDb) |
ShowGraphResponse |
setNumEdges(List<Long> numEdges) |
ShowGraphResponse |
setNumNodes(List<Long> numNodes) |
ShowGraphResponse |
setOriginalRequest(List<String> originalRequest) |
ShowGraphResponse |
setResult(boolean result) |
String |
toString() |
public ShowGraphResponse()
public static org.apache.avro.Schema getClassSchema()
public boolean getResult()
public ShowGraphResponse setResult(boolean result)
result
- Indicates a successf. This call will fails of the graph
specified in the request does not exist.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 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 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> 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 orignal 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.GenericContainer
public Object get(int index)
get
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to getIndexOutOfBoundsException
public void put(int index, Object value)
put
in interface org.apache.avro.generic.IndexedRecord
index
- the position of the field to setvalue
- the value to setIndexOutOfBoundsException
Copyright © 2020. All rights reserved.