类 SchemaMapping
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.SchemaMapping
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class SchemaMapping extends Object
SchemaMapping
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSchemaMapping.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_EDGE_MAPPINGSstatic StringSERIALIZED_NAME_LOADING_CONFIGstatic StringSERIALIZED_NAME_VERTEX_MAPPINGS
-
构造器概要
构造器 构造器 说明 SchemaMapping()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 SchemaMappingaddEdgeMappingsItem(EdgeMapping edgeMappingsItem)SchemaMappingaddVertexMappingsItem(VertexMapping vertexMappingsItem)SchemaMappingedgeMappings(List<EdgeMapping> edgeMappings)booleanequals(Object o)static SchemaMappingfromJson(String jsonString)Create an instance of SchemaMapping given an JSON stringList<EdgeMapping>getEdgeMappings()Get edgeMappingsSchemaMappingLoadingConfiggetLoadingConfig()Get loadingConfigList<VertexMapping>getVertexMappings()Get vertexMappingsinthashCode()SchemaMappingloadingConfig(SchemaMappingLoadingConfig loadingConfig)voidsetEdgeMappings(List<EdgeMapping> edgeMappings)voidsetLoadingConfig(SchemaMappingLoadingConfig loadingConfig)voidsetVertexMappings(List<VertexMapping> vertexMappings)StringtoJson()Convert an instance of SchemaMapping to an JSON stringStringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundSchemaMappingvertexMappings(List<VertexMapping> vertexMappings)
-
-
-
方法详细资料
-
loadingConfig
public SchemaMapping loadingConfig(SchemaMappingLoadingConfig loadingConfig)
-
getLoadingConfig
@Nullable public SchemaMappingLoadingConfig getLoadingConfig()
Get loadingConfig- 返回:
- loadingConfig
-
setLoadingConfig
public void setLoadingConfig(SchemaMappingLoadingConfig loadingConfig)
-
vertexMappings
public SchemaMapping vertexMappings(List<VertexMapping> vertexMappings)
-
addVertexMappingsItem
public SchemaMapping addVertexMappingsItem(VertexMapping vertexMappingsItem)
-
getVertexMappings
@Nullable public List<VertexMapping> getVertexMappings()
Get vertexMappings- 返回:
- vertexMappings
-
setVertexMappings
public void setVertexMappings(List<VertexMapping> vertexMappings)
-
edgeMappings
public SchemaMapping edgeMappings(List<EdgeMapping> edgeMappings)
-
addEdgeMappingsItem
public SchemaMapping addEdgeMappingsItem(EdgeMapping edgeMappingsItem)
-
getEdgeMappings
@Nullable public List<EdgeMapping> getEdgeMappings()
Get edgeMappings- 返回:
- edgeMappings
-
setEdgeMappings
public void setEdgeMappings(List<EdgeMapping> edgeMappings)
-
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 SchemaMapping
-
fromJson
public static SchemaMapping fromJson(String jsonString) throws IOException
Create an instance of SchemaMapping given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of SchemaMapping
- 抛出:
IOException- if the JSON string is invalid with respect to SchemaMapping
-
toJson
public String toJson()
Convert an instance of SchemaMapping to an JSON string- 返回:
- JSON string
-
-