类 VertexMapping
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.VertexMapping
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class VertexMapping extends Object
VertexMapping
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classVertexMapping.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COLUMN_MAPPINGSstatic StringSERIALIZED_NAME_INPUTSstatic StringSERIALIZED_NAME_TYPE_NAME
-
构造器概要
构造器 构造器 说明 VertexMapping()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 VertexMappingaddColumnMappingsItem(ColumnMapping columnMappingsItem)VertexMappingaddInputsItem(String inputsItem)VertexMappingcolumnMappings(List<ColumnMapping> columnMappings)booleanequals(Object o)static VertexMappingfromJson(String jsonString)Create an instance of VertexMapping given an JSON stringList<ColumnMapping>getColumnMappings()Get columnMappingsList<String>getInputs()Get inputsStringgetTypeName()Get typeNameinthashCode()VertexMappinginputs(List<String> inputs)voidsetColumnMappings(List<ColumnMapping> columnMappings)voidsetInputs(List<String> inputs)voidsetTypeName(String typeName)StringtoJson()Convert an instance of VertexMapping to an JSON stringStringtoString()VertexMappingtypeName(String typeName)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues found
-
-
-
方法详细资料
-
typeName
public VertexMapping typeName(String typeName)
-
setTypeName
public void setTypeName(String typeName)
-
inputs
public VertexMapping inputs(List<String> inputs)
-
addInputsItem
public VertexMapping addInputsItem(String inputsItem)
-
columnMappings
public VertexMapping columnMappings(List<ColumnMapping> columnMappings)
-
addColumnMappingsItem
public VertexMapping 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 VertexMapping
-
fromJson
public static VertexMapping fromJson(String jsonString) throws IOException
Create an instance of VertexMapping given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of VertexMapping
- 抛出:
IOException- if the JSON string is invalid with respect to VertexMapping
-
toJson
public String toJson()
Convert an instance of VertexMapping to an JSON string- 返回:
- JSON string
-
-