类 EdgeMapping
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.EdgeMapping
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class EdgeMapping extends Object
EdgeMapping
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classEdgeMapping.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COLUMN_MAPPINGSstatic StringSERIALIZED_NAME_DESTINATION_VERTEX_MAPPINGSstatic StringSERIALIZED_NAME_INPUTSstatic StringSERIALIZED_NAME_SOURCE_VERTEX_MAPPINGSstatic StringSERIALIZED_NAME_TYPE_TRIPLET
-
构造器概要
构造器 构造器 说明 EdgeMapping()
-
方法概要
-
-
-
字段详细资料
-
SERIALIZED_NAME_SOURCE_VERTEX_MAPPINGS
public static final String SERIALIZED_NAME_SOURCE_VERTEX_MAPPINGS
- 另请参阅:
- 常量字段值
-
SERIALIZED_NAME_DESTINATION_VERTEX_MAPPINGS
public static final String SERIALIZED_NAME_DESTINATION_VERTEX_MAPPINGS
- 另请参阅:
- 常量字段值
-
SERIALIZED_NAME_COLUMN_MAPPINGS
public static final String SERIALIZED_NAME_COLUMN_MAPPINGS
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
typeTriplet
public EdgeMapping typeTriplet(EdgeMappingTypeTriplet typeTriplet)
-
getTypeTriplet
@Nullable public EdgeMappingTypeTriplet getTypeTriplet()
Get typeTriplet- 返回:
- typeTriplet
-
setTypeTriplet
public void setTypeTriplet(EdgeMappingTypeTriplet typeTriplet)
-
inputs
public EdgeMapping inputs(List<String> inputs)
-
addInputsItem
public EdgeMapping addInputsItem(String inputsItem)
-
sourceVertexMappings
public EdgeMapping sourceVertexMappings(List<EdgeMappingSourceVertexMappingsInner> sourceVertexMappings)
-
addSourceVertexMappingsItem
public EdgeMapping addSourceVertexMappingsItem(EdgeMappingSourceVertexMappingsInner sourceVertexMappingsItem)
-
getSourceVertexMappings
@Nullable public List<EdgeMappingSourceVertexMappingsInner> getSourceVertexMappings()
Get sourceVertexMappings- 返回:
- sourceVertexMappings
-
setSourceVertexMappings
public void setSourceVertexMappings(List<EdgeMappingSourceVertexMappingsInner> sourceVertexMappings)
-
destinationVertexMappings
public EdgeMapping destinationVertexMappings(List<EdgeMappingDestinationVertexMappingsInner> destinationVertexMappings)
-
addDestinationVertexMappingsItem
public EdgeMapping addDestinationVertexMappingsItem(EdgeMappingDestinationVertexMappingsInner destinationVertexMappingsItem)
-
getDestinationVertexMappings
@Nullable public List<EdgeMappingDestinationVertexMappingsInner> getDestinationVertexMappings()
Get destinationVertexMappings- 返回:
- destinationVertexMappings
-
setDestinationVertexMappings
public void setDestinationVertexMappings(List<EdgeMappingDestinationVertexMappingsInner> destinationVertexMappings)
-
columnMappings
public EdgeMapping columnMappings(List<ColumnMapping> columnMappings)
-
addColumnMappingsItem
public EdgeMapping addColumnMappingsItem(ColumnMapping columnMappingsItem)
-
getColumnMappings
@Nullable public List<ColumnMapping> getColumnMappings()
Get columnMappings- 返回:
- columnMappings
-
setColumnMappings
public void setColumnMappings(List<ColumnMapping> columnMappings)
-
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 EdgeMapping
-
fromJson
public static EdgeMapping fromJson(String jsonString) throws IOException
Create an instance of EdgeMapping given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EdgeMapping
- 抛出:
IOException- if the JSON string is invalid with respect to EdgeMapping
-
toJson
public String toJson()
Convert an instance of EdgeMapping to an JSON string- 返回:
- JSON string
-
-