类 EdgeStatistics
- java.lang.Object
-
- com.alibaba.graphscope.interactive.openapi.model.EdgeStatistics
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.6.0") public class EdgeStatistics extends Object
EdgeStatistics
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classEdgeStatistics.CustomTypeAdapterFactory
-
字段概要
字段 修饰符和类型 字段 说明 static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_TYPE_IDstatic StringSERIALIZED_NAME_TYPE_NAMEstatic StringSERIALIZED_NAME_VERTEX_TYPE_PAIR_STATISTICS
-
构造器概要
构造器 构造器 说明 EdgeStatistics()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 EdgeStatisticsaddVertexTypePairStatisticsItem(VertexTypePairStatistics vertexTypePairStatisticsItem)booleanequals(Object o)static EdgeStatisticsfromJson(String jsonString)Create an instance of EdgeStatistics given an JSON stringIntegergetTypeId()Get typeIdStringgetTypeName()Get typeNameList<VertexTypePairStatistics>getVertexTypePairStatistics()Get vertexTypePairStatisticsinthashCode()voidsetTypeId(Integer typeId)voidsetTypeName(String typeName)voidsetVertexTypePairStatistics(List<VertexTypePairStatistics> vertexTypePairStatistics)StringtoJson()Convert an instance of EdgeStatistics to an JSON stringStringtoString()EdgeStatisticstypeId(Integer typeId)EdgeStatisticstypeName(String typeName)static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement)Validates the JSON Element and throws an exception if issues foundEdgeStatisticsvertexTypePairStatistics(List<VertexTypePairStatistics> vertexTypePairStatistics)
-
-
-
方法详细资料
-
typeId
public EdgeStatistics typeId(Integer typeId)
-
setTypeId
public void setTypeId(Integer typeId)
-
typeName
public EdgeStatistics typeName(String typeName)
-
setTypeName
public void setTypeName(String typeName)
-
vertexTypePairStatistics
public EdgeStatistics vertexTypePairStatistics(List<VertexTypePairStatistics> vertexTypePairStatistics)
-
addVertexTypePairStatisticsItem
public EdgeStatistics addVertexTypePairStatisticsItem(VertexTypePairStatistics vertexTypePairStatisticsItem)
-
getVertexTypePairStatistics
@Nullable public List<VertexTypePairStatistics> getVertexTypePairStatistics()
Get vertexTypePairStatistics- 返回:
- vertexTypePairStatistics
-
setVertexTypePairStatistics
public void setVertexTypePairStatistics(List<VertexTypePairStatistics> vertexTypePairStatistics)
-
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 EdgeStatistics
-
fromJson
public static EdgeStatistics fromJson(String jsonString) throws IOException
Create an instance of EdgeStatistics given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EdgeStatistics
- 抛出:
IOException- if the JSON string is invalid with respect to EdgeStatistics
-
toJson
public String toJson()
Convert an instance of EdgeStatistics to an JSON string- 返回:
- JSON string
-
-