public class BatchVertex
extends java.lang.Object
implements java.lang.Comparable<java.lang.Integer>
Constructor and Description |
---|
BatchVertex(java.lang.String primaryKey,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.Object> properties) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Integer other) |
boolean |
equals(java.lang.Object obj) |
int |
getIndex() |
int |
getPartition() |
java.lang.String |
getPrimaryKey() |
java.util.Map<java.lang.String,java.lang.Object> |
getProperties() |
java.lang.String |
getType() |
int |
hashCode() |
void |
setIndex(int index) |
void |
setPartition(int partition) |
void |
setPrimaryKey(java.lang.String primaryKey) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
setType(java.lang.String type) |
public BatchVertex(java.lang.String primaryKey, java.lang.String type, java.util.Map<java.lang.String,java.lang.Object> properties)
public java.lang.String getPrimaryKey()
public void setPrimaryKey(java.lang.String primaryKey)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
public void setProperties(java.util.Map<java.lang.String,java.lang.Object> properties)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int getIndex()
public void setIndex(int index)
public int getPartition()
public void setPartition(int partition)
public int compareTo(java.lang.Integer other)
compareTo
in interface java.lang.Comparable<java.lang.Integer>