@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PropertygraphSummary extends Object implements Serializable, Cloneable, StructuredPojo
The graph summary API returns a read-only list of node and edge labels and property keys, along with counts of nodes, edges, and properties. See Graph summary response for a property graph (PG).
Constructor and Description |
---|
PropertygraphSummary() |
Modifier and Type | Method and Description |
---|---|
PropertygraphSummary |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEdgeLabels()
A list of the distinct edge labels in the graph.
|
List<Map<String,Long>> |
getEdgeProperties()
A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
|
List<EdgeStructure> |
getEdgeStructures()
This field is only present when the requested mode is
DETAILED . |
List<String> |
getNodeLabels()
A list of the distinct node labels in the graph.
|
List<Map<String,Long>> |
getNodeProperties()
The number of distinct node properties in the graph.
|
List<NodeStructure> |
getNodeStructures()
This field is only present when the requested mode is
DETAILED . |
Long |
getNumEdgeLabels()
The number of distinct edge labels in the graph.
|
Long |
getNumEdgeProperties()
The number of distinct edge properties in the graph.
|
Long |
getNumEdges()
The number of edges in the graph.
|
Long |
getNumNodeLabels()
The number of distinct node labels in the graph.
|
Long |
getNumNodeProperties()
A list of the distinct node properties in the graph, along with the count of nodes where each property is used.
|
Long |
getNumNodes()
The number of nodes in the graph.
|
Long |
getTotalEdgePropertyValues()
The total number of usages of all edge properties.
|
Long |
getTotalNodePropertyValues()
The total number of usages of all node properties.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEdgeLabels(Collection<String> edgeLabels)
A list of the distinct edge labels in the graph.
|
void |
setEdgeProperties(Collection<Map<String,Long>> edgeProperties)
A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
|
void |
setEdgeStructures(Collection<EdgeStructure> edgeStructures)
This field is only present when the requested mode is
DETAILED . |
void |
setNodeLabels(Collection<String> nodeLabels)
A list of the distinct node labels in the graph.
|
void |
setNodeProperties(Collection<Map<String,Long>> nodeProperties)
The number of distinct node properties in the graph.
|
void |
setNodeStructures(Collection<NodeStructure> nodeStructures)
This field is only present when the requested mode is
DETAILED . |
void |
setNumEdgeLabels(Long numEdgeLabels)
The number of distinct edge labels in the graph.
|
void |
setNumEdgeProperties(Long numEdgeProperties)
The number of distinct edge properties in the graph.
|
void |
setNumEdges(Long numEdges)
The number of edges in the graph.
|
void |
setNumNodeLabels(Long numNodeLabels)
The number of distinct node labels in the graph.
|
void |
setNumNodeProperties(Long numNodeProperties)
A list of the distinct node properties in the graph, along with the count of nodes where each property is used.
|
void |
setNumNodes(Long numNodes)
The number of nodes in the graph.
|
void |
setTotalEdgePropertyValues(Long totalEdgePropertyValues)
The total number of usages of all edge properties.
|
void |
setTotalNodePropertyValues(Long totalNodePropertyValues)
The total number of usages of all node properties.
|
String |
toString()
Returns a string representation of this object.
|
PropertygraphSummary |
withEdgeLabels(Collection<String> edgeLabels)
A list of the distinct edge labels in the graph.
|
PropertygraphSummary |
withEdgeLabels(String... edgeLabels)
A list of the distinct edge labels in the graph.
|
PropertygraphSummary |
withEdgeProperties(Collection<Map<String,Long>> edgeProperties)
A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
|
PropertygraphSummary |
withEdgeProperties(Map<String,Long>... edgeProperties)
A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
|
PropertygraphSummary |
withEdgeStructures(Collection<EdgeStructure> edgeStructures)
This field is only present when the requested mode is
DETAILED . |
PropertygraphSummary |
withEdgeStructures(EdgeStructure... edgeStructures)
This field is only present when the requested mode is
DETAILED . |
PropertygraphSummary |
withNodeLabels(Collection<String> nodeLabels)
A list of the distinct node labels in the graph.
|
PropertygraphSummary |
withNodeLabels(String... nodeLabels)
A list of the distinct node labels in the graph.
|
PropertygraphSummary |
withNodeProperties(Collection<Map<String,Long>> nodeProperties)
The number of distinct node properties in the graph.
|
PropertygraphSummary |
withNodeProperties(Map<String,Long>... nodeProperties)
The number of distinct node properties in the graph.
|
PropertygraphSummary |
withNodeStructures(Collection<NodeStructure> nodeStructures)
This field is only present when the requested mode is
DETAILED . |
PropertygraphSummary |
withNodeStructures(NodeStructure... nodeStructures)
This field is only present when the requested mode is
DETAILED . |
PropertygraphSummary |
withNumEdgeLabels(Long numEdgeLabels)
The number of distinct edge labels in the graph.
|
PropertygraphSummary |
withNumEdgeProperties(Long numEdgeProperties)
The number of distinct edge properties in the graph.
|
PropertygraphSummary |
withNumEdges(Long numEdges)
The number of edges in the graph.
|
PropertygraphSummary |
withNumNodeLabels(Long numNodeLabels)
The number of distinct node labels in the graph.
|
PropertygraphSummary |
withNumNodeProperties(Long numNodeProperties)
A list of the distinct node properties in the graph, along with the count of nodes where each property is used.
|
PropertygraphSummary |
withNumNodes(Long numNodes)
The number of nodes in the graph.
|
PropertygraphSummary |
withTotalEdgePropertyValues(Long totalEdgePropertyValues)
The total number of usages of all edge properties.
|
PropertygraphSummary |
withTotalNodePropertyValues(Long totalNodePropertyValues)
The total number of usages of all node properties.
|
public void setNumNodes(Long numNodes)
The number of nodes in the graph.
numNodes
- The number of nodes in the graph.public Long getNumNodes()
The number of nodes in the graph.
public PropertygraphSummary withNumNodes(Long numNodes)
The number of nodes in the graph.
numNodes
- The number of nodes in the graph.public void setNumEdges(Long numEdges)
The number of edges in the graph.
numEdges
- The number of edges in the graph.public Long getNumEdges()
The number of edges in the graph.
public PropertygraphSummary withNumEdges(Long numEdges)
The number of edges in the graph.
numEdges
- The number of edges in the graph.public void setNumNodeLabels(Long numNodeLabels)
The number of distinct node labels in the graph.
numNodeLabels
- The number of distinct node labels in the graph.public Long getNumNodeLabels()
The number of distinct node labels in the graph.
public PropertygraphSummary withNumNodeLabels(Long numNodeLabels)
The number of distinct node labels in the graph.
numNodeLabels
- The number of distinct node labels in the graph.public void setNumEdgeLabels(Long numEdgeLabels)
The number of distinct edge labels in the graph.
numEdgeLabels
- The number of distinct edge labels in the graph.public Long getNumEdgeLabels()
The number of distinct edge labels in the graph.
public PropertygraphSummary withNumEdgeLabels(Long numEdgeLabels)
The number of distinct edge labels in the graph.
numEdgeLabels
- The number of distinct edge labels in the graph.public List<String> getNodeLabels()
A list of the distinct node labels in the graph.
public void setNodeLabels(Collection<String> nodeLabels)
A list of the distinct node labels in the graph.
nodeLabels
- A list of the distinct node labels in the graph.public PropertygraphSummary withNodeLabels(String... nodeLabels)
A list of the distinct node labels in the graph.
NOTE: This method appends the values to the existing list (if any). Use
setNodeLabels(java.util.Collection)
or withNodeLabels(java.util.Collection)
if you want to
override the existing values.
nodeLabels
- A list of the distinct node labels in the graph.public PropertygraphSummary withNodeLabels(Collection<String> nodeLabels)
A list of the distinct node labels in the graph.
nodeLabels
- A list of the distinct node labels in the graph.public List<String> getEdgeLabels()
A list of the distinct edge labels in the graph.
public void setEdgeLabels(Collection<String> edgeLabels)
A list of the distinct edge labels in the graph.
edgeLabels
- A list of the distinct edge labels in the graph.public PropertygraphSummary withEdgeLabels(String... edgeLabels)
A list of the distinct edge labels in the graph.
NOTE: This method appends the values to the existing list (if any). Use
setEdgeLabels(java.util.Collection)
or withEdgeLabels(java.util.Collection)
if you want to
override the existing values.
edgeLabels
- A list of the distinct edge labels in the graph.public PropertygraphSummary withEdgeLabels(Collection<String> edgeLabels)
A list of the distinct edge labels in the graph.
edgeLabels
- A list of the distinct edge labels in the graph.public void setNumNodeProperties(Long numNodeProperties)
A list of the distinct node properties in the graph, along with the count of nodes where each property is used.
numNodeProperties
- A list of the distinct node properties in the graph, along with the count of nodes where each property is
used.public Long getNumNodeProperties()
A list of the distinct node properties in the graph, along with the count of nodes where each property is used.
public PropertygraphSummary withNumNodeProperties(Long numNodeProperties)
A list of the distinct node properties in the graph, along with the count of nodes where each property is used.
numNodeProperties
- A list of the distinct node properties in the graph, along with the count of nodes where each property is
used.public void setNumEdgeProperties(Long numEdgeProperties)
The number of distinct edge properties in the graph.
numEdgeProperties
- The number of distinct edge properties in the graph.public Long getNumEdgeProperties()
The number of distinct edge properties in the graph.
public PropertygraphSummary withNumEdgeProperties(Long numEdgeProperties)
The number of distinct edge properties in the graph.
numEdgeProperties
- The number of distinct edge properties in the graph.public List<Map<String,Long>> getNodeProperties()
The number of distinct node properties in the graph.
public void setNodeProperties(Collection<Map<String,Long>> nodeProperties)
The number of distinct node properties in the graph.
nodeProperties
- The number of distinct node properties in the graph.public PropertygraphSummary withNodeProperties(Map<String,Long>... nodeProperties)
The number of distinct node properties in the graph.
NOTE: This method appends the values to the existing list (if any). Use
setNodeProperties(java.util.Collection)
or withNodeProperties(java.util.Collection)
if you want
to override the existing values.
nodeProperties
- The number of distinct node properties in the graph.public PropertygraphSummary withNodeProperties(Collection<Map<String,Long>> nodeProperties)
The number of distinct node properties in the graph.
nodeProperties
- The number of distinct node properties in the graph.public List<Map<String,Long>> getEdgeProperties()
A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
public void setEdgeProperties(Collection<Map<String,Long>> edgeProperties)
A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
edgeProperties
- A list of the distinct edge properties in the graph, along with the count of edges where each property is
used.public PropertygraphSummary withEdgeProperties(Map<String,Long>... edgeProperties)
A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
NOTE: This method appends the values to the existing list (if any). Use
setEdgeProperties(java.util.Collection)
or withEdgeProperties(java.util.Collection)
if you want
to override the existing values.
edgeProperties
- A list of the distinct edge properties in the graph, along with the count of edges where each property is
used.public PropertygraphSummary withEdgeProperties(Collection<Map<String,Long>> edgeProperties)
A list of the distinct edge properties in the graph, along with the count of edges where each property is used.
edgeProperties
- A list of the distinct edge properties in the graph, along with the count of edges where each property is
used.public void setTotalNodePropertyValues(Long totalNodePropertyValues)
The total number of usages of all node properties.
totalNodePropertyValues
- The total number of usages of all node properties.public Long getTotalNodePropertyValues()
The total number of usages of all node properties.
public PropertygraphSummary withTotalNodePropertyValues(Long totalNodePropertyValues)
The total number of usages of all node properties.
totalNodePropertyValues
- The total number of usages of all node properties.public void setTotalEdgePropertyValues(Long totalEdgePropertyValues)
The total number of usages of all edge properties.
totalEdgePropertyValues
- The total number of usages of all edge properties.public Long getTotalEdgePropertyValues()
The total number of usages of all edge properties.
public PropertygraphSummary withTotalEdgePropertyValues(Long totalEdgePropertyValues)
The total number of usages of all edge properties.
totalEdgePropertyValues
- The total number of usages of all edge properties.public List<NodeStructure> getNodeStructures()
This field is only present when the requested mode is DETAILED
. It contains a list of node
structures.
DETAILED
. It contains a list of node
structures.public void setNodeStructures(Collection<NodeStructure> nodeStructures)
This field is only present when the requested mode is DETAILED
. It contains a list of node
structures.
nodeStructures
- This field is only present when the requested mode is DETAILED
. It contains a list of node
structures.public PropertygraphSummary withNodeStructures(NodeStructure... nodeStructures)
This field is only present when the requested mode is DETAILED
. It contains a list of node
structures.
NOTE: This method appends the values to the existing list (if any). Use
setNodeStructures(java.util.Collection)
or withNodeStructures(java.util.Collection)
if you want
to override the existing values.
nodeStructures
- This field is only present when the requested mode is DETAILED
. It contains a list of node
structures.public PropertygraphSummary withNodeStructures(Collection<NodeStructure> nodeStructures)
This field is only present when the requested mode is DETAILED
. It contains a list of node
structures.
nodeStructures
- This field is only present when the requested mode is DETAILED
. It contains a list of node
structures.public List<EdgeStructure> getEdgeStructures()
This field is only present when the requested mode is DETAILED
. It contains a list of edge
structures.
DETAILED
. It contains a list of edge
structures.public void setEdgeStructures(Collection<EdgeStructure> edgeStructures)
This field is only present when the requested mode is DETAILED
. It contains a list of edge
structures.
edgeStructures
- This field is only present when the requested mode is DETAILED
. It contains a list of edge
structures.public PropertygraphSummary withEdgeStructures(EdgeStructure... edgeStructures)
This field is only present when the requested mode is DETAILED
. It contains a list of edge
structures.
NOTE: This method appends the values to the existing list (if any). Use
setEdgeStructures(java.util.Collection)
or withEdgeStructures(java.util.Collection)
if you want
to override the existing values.
edgeStructures
- This field is only present when the requested mode is DETAILED
. It contains a list of edge
structures.public PropertygraphSummary withEdgeStructures(Collection<EdgeStructure> edgeStructures)
This field is only present when the requested mode is DETAILED
. It contains a list of edge
structures.
edgeStructures
- This field is only present when the requested mode is DETAILED
. It contains a list of edge
structures.public String toString()
toString
in class Object
Object.toString()
public PropertygraphSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.