@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RDFGraphSummary extends Object implements Serializable, Cloneable, StructuredPojo
The RDF graph summary API returns a read-only list of classes and predicate keys, along with counts of quads, subjects, and predicates.
Constructor and Description |
---|
RDFGraphSummary() |
Modifier and Type | Method and Description |
---|---|
RDFGraphSummary |
clone() |
boolean |
equals(Object obj) |
List<String> |
getClasses()
A list of the classes in the graph.
|
Long |
getNumClasses()
The number of classes in the graph.
|
Long |
getNumDistinctPredicates()
The number of distinct predicates in the graph.
|
Long |
getNumDistinctSubjects()
The number of distinct subjects in the graph.
|
Long |
getNumQuads()
The number of quads in the graph.
|
List<Map<String,Long>> |
getPredicates()
"A list of predicates in the graph, along with the predicate counts.
|
List<SubjectStructure> |
getSubjectStructures()
This field is only present when the request mode is
DETAILED . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClasses(Collection<String> classes)
A list of the classes in the graph.
|
void |
setNumClasses(Long numClasses)
The number of classes in the graph.
|
void |
setNumDistinctPredicates(Long numDistinctPredicates)
The number of distinct predicates in the graph.
|
void |
setNumDistinctSubjects(Long numDistinctSubjects)
The number of distinct subjects in the graph.
|
void |
setNumQuads(Long numQuads)
The number of quads in the graph.
|
void |
setPredicates(Collection<Map<String,Long>> predicates)
"A list of predicates in the graph, along with the predicate counts.
|
void |
setSubjectStructures(Collection<SubjectStructure> subjectStructures)
This field is only present when the request mode is
DETAILED . |
String |
toString()
Returns a string representation of this object.
|
RDFGraphSummary |
withClasses(Collection<String> classes)
A list of the classes in the graph.
|
RDFGraphSummary |
withClasses(String... classes)
A list of the classes in the graph.
|
RDFGraphSummary |
withNumClasses(Long numClasses)
The number of classes in the graph.
|
RDFGraphSummary |
withNumDistinctPredicates(Long numDistinctPredicates)
The number of distinct predicates in the graph.
|
RDFGraphSummary |
withNumDistinctSubjects(Long numDistinctSubjects)
The number of distinct subjects in the graph.
|
RDFGraphSummary |
withNumQuads(Long numQuads)
The number of quads in the graph.
|
RDFGraphSummary |
withPredicates(Collection<Map<String,Long>> predicates)
"A list of predicates in the graph, along with the predicate counts.
|
RDFGraphSummary |
withPredicates(Map<String,Long>... predicates)
"A list of predicates in the graph, along with the predicate counts.
|
RDFGraphSummary |
withSubjectStructures(Collection<SubjectStructure> subjectStructures)
This field is only present when the request mode is
DETAILED . |
RDFGraphSummary |
withSubjectStructures(SubjectStructure... subjectStructures)
This field is only present when the request mode is
DETAILED . |
public void setNumDistinctSubjects(Long numDistinctSubjects)
The number of distinct subjects in the graph.
numDistinctSubjects
- The number of distinct subjects in the graph.public Long getNumDistinctSubjects()
The number of distinct subjects in the graph.
public RDFGraphSummary withNumDistinctSubjects(Long numDistinctSubjects)
The number of distinct subjects in the graph.
numDistinctSubjects
- The number of distinct subjects in the graph.public void setNumDistinctPredicates(Long numDistinctPredicates)
The number of distinct predicates in the graph.
numDistinctPredicates
- The number of distinct predicates in the graph.public Long getNumDistinctPredicates()
The number of distinct predicates in the graph.
public RDFGraphSummary withNumDistinctPredicates(Long numDistinctPredicates)
The number of distinct predicates in the graph.
numDistinctPredicates
- The number of distinct predicates in the graph.public void setNumQuads(Long numQuads)
The number of quads in the graph.
numQuads
- The number of quads in the graph.public Long getNumQuads()
The number of quads in the graph.
public RDFGraphSummary withNumQuads(Long numQuads)
The number of quads in the graph.
numQuads
- The number of quads in the graph.public void setNumClasses(Long numClasses)
The number of classes in the graph.
numClasses
- The number of classes in the graph.public Long getNumClasses()
The number of classes in the graph.
public RDFGraphSummary withNumClasses(Long numClasses)
The number of classes in the graph.
numClasses
- The number of classes in the graph.public List<String> getClasses()
A list of the classes in the graph.
public void setClasses(Collection<String> classes)
A list of the classes in the graph.
classes
- A list of the classes in the graph.public RDFGraphSummary withClasses(String... classes)
A list of the classes in the graph.
NOTE: This method appends the values to the existing list (if any). Use
setClasses(java.util.Collection)
or withClasses(java.util.Collection)
if you want to override
the existing values.
classes
- A list of the classes in the graph.public RDFGraphSummary withClasses(Collection<String> classes)
A list of the classes in the graph.
classes
- A list of the classes in the graph.public List<Map<String,Long>> getPredicates()
"A list of predicates in the graph, along with the predicate counts.
public void setPredicates(Collection<Map<String,Long>> predicates)
"A list of predicates in the graph, along with the predicate counts.
predicates
- "A list of predicates in the graph, along with the predicate counts.public RDFGraphSummary withPredicates(Map<String,Long>... predicates)
"A list of predicates in the graph, along with the predicate counts.
NOTE: This method appends the values to the existing list (if any). Use
setPredicates(java.util.Collection)
or withPredicates(java.util.Collection)
if you want to
override the existing values.
predicates
- "A list of predicates in the graph, along with the predicate counts.public RDFGraphSummary withPredicates(Collection<Map<String,Long>> predicates)
"A list of predicates in the graph, along with the predicate counts.
predicates
- "A list of predicates in the graph, along with the predicate counts.public List<SubjectStructure> getSubjectStructures()
This field is only present when the request mode is DETAILED
. It contains a list of subject
structures.
DETAILED
. It contains a list of subject
structures.public void setSubjectStructures(Collection<SubjectStructure> subjectStructures)
This field is only present when the request mode is DETAILED
. It contains a list of subject
structures.
subjectStructures
- This field is only present when the request mode is DETAILED
. It contains a list of subject
structures.public RDFGraphSummary withSubjectStructures(SubjectStructure... subjectStructures)
This field is only present when the request mode is DETAILED
. It contains a list of subject
structures.
NOTE: This method appends the values to the existing list (if any). Use
setSubjectStructures(java.util.Collection)
or withSubjectStructures(java.util.Collection)
if
you want to override the existing values.
subjectStructures
- This field is only present when the request mode is DETAILED
. It contains a list of subject
structures.public RDFGraphSummary withSubjectStructures(Collection<SubjectStructure> subjectStructures)
This field is only present when the request mode is DETAILED
. It contains a list of subject
structures.
subjectStructures
- This field is only present when the request mode is DETAILED
. It contains a list of subject
structures.public String toString()
toString
in class Object
Object.toString()
public RDFGraphSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.