|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object org.apache.spark.graphx.TripletFields
public class TripletFields
Represents a subset of the fields of an [[EdgeTriplet]] or [[EdgeContext]]. This allows the system to populate only those fields for efficiency.
Field Summary | |
---|---|
static TripletFields |
All
Expose all the fields (source, edge, and destination). |
static TripletFields |
Dst
Expose the destination and edge fields but not the source field. |
static TripletFields |
EdgeOnly
Expose only the edge field and not the source or destination field. |
static TripletFields |
None
None of the triplet fields are exposed. |
static TripletFields |
Src
Expose the source and edge fields but not the destination field. |
boolean |
useDst
Indicates whether the destination vertex attribute is included. |
boolean |
useEdge
Indicates whether the edge attribute is included. |
boolean |
useSrc
Indicates whether the source vertex attribute is included. |
Constructor Summary | |
---|---|
TripletFields()
Constructs a default TripletFields in which all fields are included. |
|
TripletFields(boolean useSrc,
boolean useDst,
boolean useEdge)
|
Method Summary |
---|
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final boolean useSrc
public final boolean useDst
public final boolean useEdge
public static final TripletFields None
public static final TripletFields EdgeOnly
public static final TripletFields Src
public static final TripletFields Dst
public static final TripletFields All
Constructor Detail |
---|
public TripletFields()
public TripletFields(boolean useSrc, boolean useDst, boolean useEdge)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |