@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Statistics extends Object implements Serializable, Cloneable, StructuredPojo
Contains statistics information. The DFE engine uses information about the data in your Neptune graph to make effective trade-offs when planning query execution. This information takes the form of statistics that include so-called characteristic sets and predicate statistics that can guide query planning. See Managing statistics for the Neptune DFE to use.
Constructor and Description |
---|
Statistics() |
Modifier and Type | Method and Description |
---|---|
Statistics |
clone() |
boolean |
equals(Object obj) |
Boolean |
getActive()
Indicates whether or not DFE statistics generation is enabled at all.
|
Boolean |
getAutoCompute()
Indicates whether or not automatic statistics generation is enabled.
|
Date |
getDate()
The UTC time at which DFE statistics have most recently been generated.
|
String |
getNote()
A note about problems in the case where statistics are invalid.
|
StatisticsSummary |
getSignatureInfo()
A StatisticsSummary structure that contains:
|
String |
getStatisticsId()
Reports the ID of the current statistics generation run.
|
int |
hashCode() |
Boolean |
isActive()
Indicates whether or not DFE statistics generation is enabled at all.
|
Boolean |
isAutoCompute()
Indicates whether or not automatic statistics generation is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActive(Boolean active)
Indicates whether or not DFE statistics generation is enabled at all.
|
void |
setAutoCompute(Boolean autoCompute)
Indicates whether or not automatic statistics generation is enabled.
|
void |
setDate(Date date)
The UTC time at which DFE statistics have most recently been generated.
|
void |
setNote(String note)
A note about problems in the case where statistics are invalid.
|
void |
setSignatureInfo(StatisticsSummary signatureInfo)
A StatisticsSummary structure that contains:
|
void |
setStatisticsId(String statisticsId)
Reports the ID of the current statistics generation run.
|
String |
toString()
Returns a string representation of this object.
|
Statistics |
withActive(Boolean active)
Indicates whether or not DFE statistics generation is enabled at all.
|
Statistics |
withAutoCompute(Boolean autoCompute)
Indicates whether or not automatic statistics generation is enabled.
|
Statistics |
withDate(Date date)
The UTC time at which DFE statistics have most recently been generated.
|
Statistics |
withNote(String note)
A note about problems in the case where statistics are invalid.
|
Statistics |
withSignatureInfo(StatisticsSummary signatureInfo)
A StatisticsSummary structure that contains:
|
Statistics |
withStatisticsId(String statisticsId)
Reports the ID of the current statistics generation run.
|
public void setAutoCompute(Boolean autoCompute)
Indicates whether or not automatic statistics generation is enabled.
autoCompute
- Indicates whether or not automatic statistics generation is enabled.public Boolean getAutoCompute()
Indicates whether or not automatic statistics generation is enabled.
public Statistics withAutoCompute(Boolean autoCompute)
Indicates whether or not automatic statistics generation is enabled.
autoCompute
- Indicates whether or not automatic statistics generation is enabled.public Boolean isAutoCompute()
Indicates whether or not automatic statistics generation is enabled.
public void setActive(Boolean active)
Indicates whether or not DFE statistics generation is enabled at all.
active
- Indicates whether or not DFE statistics generation is enabled at all.public Boolean getActive()
Indicates whether or not DFE statistics generation is enabled at all.
public Statistics withActive(Boolean active)
Indicates whether or not DFE statistics generation is enabled at all.
active
- Indicates whether or not DFE statistics generation is enabled at all.public Boolean isActive()
Indicates whether or not DFE statistics generation is enabled at all.
public void setStatisticsId(String statisticsId)
Reports the ID of the current statistics generation run. A value of -1 indicates that no statistics have been generated.
statisticsId
- Reports the ID of the current statistics generation run. A value of -1 indicates that no statistics have
been generated.public String getStatisticsId()
Reports the ID of the current statistics generation run. A value of -1 indicates that no statistics have been generated.
public Statistics withStatisticsId(String statisticsId)
Reports the ID of the current statistics generation run. A value of -1 indicates that no statistics have been generated.
statisticsId
- Reports the ID of the current statistics generation run. A value of -1 indicates that no statistics have
been generated.public void setDate(Date date)
The UTC time at which DFE statistics have most recently been generated.
date
- The UTC time at which DFE statistics have most recently been generated.public Date getDate()
The UTC time at which DFE statistics have most recently been generated.
public Statistics withDate(Date date)
The UTC time at which DFE statistics have most recently been generated.
date
- The UTC time at which DFE statistics have most recently been generated.public void setNote(String note)
A note about problems in the case where statistics are invalid.
note
- A note about problems in the case where statistics are invalid.public String getNote()
A note about problems in the case where statistics are invalid.
public Statistics withNote(String note)
A note about problems in the case where statistics are invalid.
note
- A note about problems in the case where statistics are invalid.public void setSignatureInfo(StatisticsSummary signatureInfo)
A StatisticsSummary structure that contains:
signatureCount
- The total number of signatures across all characteristic sets.
instanceCount
- The total number of characteristic-set instances.
predicateCount
- The total number of unique predicates.
signatureInfo
- A StatisticsSummary structure that contains:
signatureCount
- The total number of signatures across all characteristic sets.
instanceCount
- The total number of characteristic-set instances.
predicateCount
- The total number of unique predicates.
public StatisticsSummary getSignatureInfo()
A StatisticsSummary structure that contains:
signatureCount
- The total number of signatures across all characteristic sets.
instanceCount
- The total number of characteristic-set instances.
predicateCount
- The total number of unique predicates.
signatureCount
- The total number of signatures across all characteristic sets.
instanceCount
- The total number of characteristic-set instances.
predicateCount
- The total number of unique predicates.
public Statistics withSignatureInfo(StatisticsSummary signatureInfo)
A StatisticsSummary structure that contains:
signatureCount
- The total number of signatures across all characteristic sets.
instanceCount
- The total number of characteristic-set instances.
predicateCount
- The total number of unique predicates.
signatureInfo
- A StatisticsSummary structure that contains:
signatureCount
- The total number of signatures across all characteristic sets.
instanceCount
- The total number of characteristic-set instances.
predicateCount
- The total number of unique predicates.
public String toString()
toString
in class Object
Object.toString()
public Statistics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.