public class TraverseSpec extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<TraverseSpec>
| Modifier and Type | Class and Description |
|---|---|
static class |
TraverseSpec.Builder |
| Modifier and Type | Field and Description |
|---|---|
boolean |
dedup |
static int |
DEDUP |
EdgeDirection |
edge_direction |
static int |
EDGE_DIRECTION |
List<EdgeProp> |
edge_props |
static int |
EDGE_PROPS |
List<Integer> |
edge_types |
static int |
EDGE_TYPES |
List<Expr> |
expressions |
static int |
EXPRESSIONS |
byte[] |
filter |
static int |
FILTER |
long |
limit |
static int |
LIMIT |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
List<OrderBy> |
order_by |
static int |
ORDER_BY |
boolean |
random |
static int |
RANDOM |
List<StatProp> |
stat_props |
static int |
STAT_PROPS |
List<VertexProp> |
vertex_props |
static int |
VERTEX_PROPS |
| Constructor and Description |
|---|
TraverseSpec() |
TraverseSpec(List<Integer> edge_types,
EdgeDirection edge_direction,
boolean dedup) |
TraverseSpec(List<Integer> edge_types,
EdgeDirection edge_direction,
boolean dedup,
List<StatProp> stat_props,
List<VertexProp> vertex_props,
List<EdgeProp> edge_props,
List<Expr> expressions,
List<OrderBy> order_by,
boolean random,
long limit,
byte[] filter) |
TraverseSpec(TraverseSpec other)
Performs a deep copy on other.
|
public EdgeDirection edge_direction
EdgeDirectionpublic boolean dedup
public List<VertexProp> vertex_props
public boolean random
public long limit
public byte[] filter
public static final int EDGE_TYPES
public static final int EDGE_DIRECTION
public static final int DEDUP
public static final int STAT_PROPS
public static final int VERTEX_PROPS
public static final int EDGE_PROPS
public static final int EXPRESSIONS
public static final int ORDER_BY
public static final int RANDOM
public static final int LIMIT
public static final int FILTER
public TraverseSpec()
public TraverseSpec(List<Integer> edge_types, EdgeDirection edge_direction, boolean dedup)
public TraverseSpec(List<Integer> edge_types, EdgeDirection edge_direction, boolean dedup, List<StatProp> stat_props, List<VertexProp> vertex_props, List<EdgeProp> edge_props, List<Expr> expressions, List<OrderBy> order_by, boolean random, long limit, byte[] filter)
public TraverseSpec(TraverseSpec other)
public static TraverseSpec.Builder builder()
public TraverseSpec deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic TraverseSpec setEdge_types(List<Integer> edge_types)
public void unsetEdge_types()
public boolean isSetEdge_types()
public void setEdge_typesIsSet(boolean __value)
public EdgeDirection getEdge_direction()
EdgeDirectionpublic TraverseSpec setEdge_direction(EdgeDirection edge_direction)
EdgeDirectionpublic void unsetEdge_direction()
public boolean isSetEdge_direction()
public void setEdge_directionIsSet(boolean __value)
public boolean isDedup()
public TraverseSpec setDedup(boolean dedup)
public void unsetDedup()
public boolean isSetDedup()
public void setDedupIsSet(boolean __value)
public TraverseSpec setStat_props(List<StatProp> stat_props)
public void unsetStat_props()
public boolean isSetStat_props()
public void setStat_propsIsSet(boolean __value)
public List<VertexProp> getVertex_props()
public TraverseSpec setVertex_props(List<VertexProp> vertex_props)
public void unsetVertex_props()
public boolean isSetVertex_props()
public void setVertex_propsIsSet(boolean __value)
public TraverseSpec setEdge_props(List<EdgeProp> edge_props)
public void unsetEdge_props()
public boolean isSetEdge_props()
public void setEdge_propsIsSet(boolean __value)
public TraverseSpec setExpressions(List<Expr> expressions)
public void unsetExpressions()
public boolean isSetExpressions()
public void setExpressionsIsSet(boolean __value)
public TraverseSpec setOrder_by(List<OrderBy> order_by)
public void unsetOrder_by()
public boolean isSetOrder_by()
public void setOrder_byIsSet(boolean __value)
public boolean isRandom()
public TraverseSpec setRandom(boolean random)
public void unsetRandom()
public boolean isSetRandom()
public void setRandomIsSet(boolean __value)
public long getLimit()
public TraverseSpec setLimit(long limit)
public void unsetLimit()
public boolean isSetLimit()
public void setLimitIsSet(boolean __value)
public byte[] getFilter()
public TraverseSpec setFilter(byte[] filter)
public void unsetFilter()
public boolean isSetFilter()
public void setFilterIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(TraverseSpec other)
compareTo in interface Comparable<TraverseSpec>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.