@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class QueryAggregation extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Query results.
Note: Objects should always be created or deserialized using the QueryAggregation.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the QueryAggregation.Builder
, which maintain a
set of all explicitly set fields called QueryAggregation.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
QueryAggregation.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
QueryAggregation(Integer totalCount,
Long totalMatchedCount,
Boolean arePartialResults,
String partialResultReason,
Boolean isContentHidden,
List<AbstractColumn> columns,
List<AbstractColumn> fields,
List<Map<String,Object>> items,
Long queryExecutionTimeInMs,
Integer percentComplete)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static QueryAggregation.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Boolean |
getArePartialResults()
True if query did not complete processing all data.
|
List<AbstractColumn> |
getColumns()
Query result columns
|
List<AbstractColumn> |
getFields()
Query result fields
|
Boolean |
getIsContentHidden()
True if the data returned by query is hidden.
|
List<Map<String,Object>> |
getItems()
Query result data
|
String |
getPartialResultReason()
Explanation of why results may be partial.
|
Integer |
getPercentComplete()
Percentage progress completion of the query.
|
Long |
getQueryExecutionTimeInMs()
Time ellapsed executing query in milli-seconds.
|
Integer |
getTotalCount()
Number of rows query retrieved.
|
Long |
getTotalMatchedCount()
Number of rows matched by query.
|
int |
hashCode() |
QueryAggregation.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"totalCount","totalMatchedCount","arePartialResults","partialResultReason","isContentHidden","columns","fields","items","queryExecutionTimeInMs","percentComplete"}) public QueryAggregation(Integer totalCount, Long totalMatchedCount, Boolean arePartialResults, String partialResultReason, Boolean isContentHidden, List<AbstractColumn> columns, List<AbstractColumn> fields, List<Map<String,Object>> items, Long queryExecutionTimeInMs, Integer percentComplete)
public static QueryAggregation.Builder builder()
Create a new builder.
public QueryAggregation.Builder toBuilder()
public Integer getTotalCount()
Number of rows query retrieved. Up to maxTotalCount limit.
public Long getTotalMatchedCount()
Number of rows matched by query.
public Boolean getArePartialResults()
True if query did not complete processing all data.
public String getPartialResultReason()
Explanation of why results may be partial. Only set if arePartialResults is true.
public Boolean getIsContentHidden()
True if the data returned by query is hidden.
public List<AbstractColumn> getColumns()
Query result columns
public List<AbstractColumn> getFields()
Query result fields
public Long getQueryExecutionTimeInMs()
Time ellapsed executing query in milli-seconds.
public Integer getPercentComplete()
Percentage progress completion of the query.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.