类 EdgeData
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.EdgeData
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class EdgeData extends Object
EdgeData
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classEdgeData.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_DST_LABELstatic StringSERIALIZED_NAME_DST_PRIMARY_KEY_VALUEstatic StringSERIALIZED_NAME_EDGE_LABELstatic StringSERIALIZED_NAME_PROPERTIESstatic StringSERIALIZED_NAME_SRC_LABELstatic StringSERIALIZED_NAME_SRC_PRIMARY_KEY_VALUE
-
构造器概要
构造器 构造器 说明 EdgeData()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 EdgeDataaddPropertiesItem(Property propertiesItem)EdgeDatadstLabel(String dstLabel)EdgeDatadstPrimaryKeyValue(Object dstPrimaryKeyValue)EdgeDataedgeLabel(String edgeLabel)booleanequals(Object o)static EdgeDatafromJson(String jsonString)Create an instance of EdgeData given an JSON stringStringgetDstLabel()Get dstLabelObjectgetDstPrimaryKeyValue()Get dstPrimaryKeyValueStringgetEdgeLabel()Get edgeLabelList<Property>getProperties()Get propertiesStringgetSrcLabel()Get srcLabelObjectgetSrcPrimaryKeyValue()Get srcPrimaryKeyValueinthashCode()EdgeDataproperties(List<Property> properties)voidsetDstLabel(String dstLabel)voidsetDstPrimaryKeyValue(Object dstPrimaryKeyValue)voidsetEdgeLabel(String edgeLabel)voidsetProperties(List<Property> properties)voidsetSrcLabel(String srcLabel)voidsetSrcPrimaryKeyValue(Object srcPrimaryKeyValue)EdgeDatasrcLabel(String srcLabel)EdgeDatasrcPrimaryKeyValue(Object srcPrimaryKeyValue)StringtoJson()Convert an instance of EdgeData to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
方法详细资料
-
setSrcLabel
public void setSrcLabel(String srcLabel)
-
setDstLabel
public void setDstLabel(String dstLabel)
-
setEdgeLabel
public void setEdgeLabel(String edgeLabel)
-
getSrcPrimaryKeyValue
@Nullable public Object getSrcPrimaryKeyValue()
Get srcPrimaryKeyValue- 返回:
- srcPrimaryKeyValue
-
setSrcPrimaryKeyValue
public void setSrcPrimaryKeyValue(Object srcPrimaryKeyValue)
-
getDstPrimaryKeyValue
@Nullable public Object getDstPrimaryKeyValue()
Get dstPrimaryKeyValue- 返回:
- dstPrimaryKeyValue
-
setDstPrimaryKeyValue
public void setDstPrimaryKeyValue(Object dstPrimaryKeyValue)
-
validateJsonElement
public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOExceptionValidates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to EdgeData
-
fromJson
public static EdgeData fromJson(String jsonString) throws IOException
Create an instance of EdgeData given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EdgeData
- 抛出:
IOException- if the JSON string is invalid with respect to EdgeData
-
toJson
public String toJson()
Convert an instance of EdgeData to an JSON string- 返回:
- JSON string
-
-