Class ExportDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.loganalytics.model.ExportDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class ExportDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Input arguments for running a query synchronosly and streaming the results as soon as they become available.
Note: Objects should always be created or deserialized using theExportDetails.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 theExportDetails.Builder
, which maintain a set of all explicitly set fields calledExportDetails.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExportDetails.Builder
static class
ExportDetails.OutputFormat
Specifies the format for the returned results.
-
Constructor Summary
Constructors Constructor Description ExportDetails(String compartmentId, Boolean compartmentIdInSubtree, String queryString, SubSystemName subSystem, List<ScopeFilter> scopeFilters, Integer maxTotalCount, TimeRange timeFilter, Integer queryTimeoutInSeconds, Boolean shouldIncludeColumns, ExportDetails.OutputFormat outputFormat, Boolean shouldLocalize, Boolean shouldUseAcceleration)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportDetails.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).Boolean
getCompartmentIdInSubtree()
Flag to search all child compartments of the compartment Id specified in the compartmentId query parameter.Integer
getMaxTotalCount()
Maximum number of results retrieved from data source is determined by the specific query used and the maxTotalCount input field.ExportDetails.OutputFormat
getOutputFormat()
Specifies the format for the returned results.String
getQueryString()
Query to perform.Integer
getQueryTimeoutInSeconds()
Amount of time, in seconds, allowed for a query to execute.List<ScopeFilter>
getScopeFilters()
List of filters to be applied when the query executes.Boolean
getShouldIncludeColumns()
Include columns in responseBoolean
getShouldLocalize()
Localize results, including header columns, List-Of-Values and timestamp values.Boolean
getShouldUseAcceleration()
Controls if query should ignore pre-calculated results if available and only use raw data.SubSystemName
getSubSystem()
Default subsystem to qualify fields with in the queryString if not specified.TimeRange
getTimeFilter()
int
hashCode()
ExportDetails.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ExportDetails
@Deprecated @ConstructorProperties({"compartmentId","compartmentIdInSubtree","queryString","subSystem","scopeFilters","maxTotalCount","timeFilter","queryTimeoutInSeconds","shouldIncludeColumns","outputFormat","shouldLocalize","shouldUseAcceleration"}) public ExportDetails(String compartmentId, Boolean compartmentIdInSubtree, String queryString, SubSystemName subSystem, List<ScopeFilter> scopeFilters, Integer maxTotalCount, TimeRange timeFilter, Integer queryTimeoutInSeconds, Boolean shouldIncludeColumns, ExportDetails.OutputFormat outputFormat, Boolean shouldLocalize, Boolean shouldUseAcceleration)
Deprecated.
-
-
Method Detail
-
builder
public static ExportDetails.Builder builder()
Create a new builder.
-
toBuilder
public ExportDetails.Builder toBuilder()
-
getCompartmentId
public String getCompartmentId()
Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Returns:
- the value
-
getCompartmentIdInSubtree
public Boolean getCompartmentIdInSubtree()
Flag to search all child compartments of the compartment Id specified in the compartmentId query parameter.- Returns:
- the value
-
getQueryString
public String getQueryString()
Query to perform.- Returns:
- the value
-
getSubSystem
public SubSystemName getSubSystem()
Default subsystem to qualify fields with in the queryString if not specified.- Returns:
- the value
-
getScopeFilters
public List<ScopeFilter> getScopeFilters()
List of filters to be applied when the query executes.More than one filter per field is not permitted.
- Returns:
- the value
-
getMaxTotalCount
public Integer getMaxTotalCount()
Maximum number of results retrieved from data source is determined by the specific query used and the maxTotalCount input field.If the export results can be streamed, the maximum will be 1,000,000. If the results cannot be streamed, the maximum limit is 500 for queries that include the link command and 10,000 for the queries that do not include the link command.
Queries that include certain commands such as head, tail or stats cannot be streamed and are subject to a maximum of 10,000 results. Queries that include the sort command cannot be streamed unless the sort fields are restricted to id and/or time. The maximum number of results retrieved is the lesser of the maxTotalCount input provided and the applicable limit described above.
- Returns:
- the value
-
getTimeFilter
public TimeRange getTimeFilter()
-
getQueryTimeoutInSeconds
public Integer getQueryTimeoutInSeconds()
Amount of time, in seconds, allowed for a query to execute.If this time expires before the query is complete, any partial results will be returned.
- Returns:
- the value
-
getShouldIncludeColumns
public Boolean getShouldIncludeColumns()
Include columns in response- Returns:
- the value
-
getOutputFormat
public ExportDetails.OutputFormat getOutputFormat()
Specifies the format for the returned results.- Returns:
- the value
-
getShouldLocalize
public Boolean getShouldLocalize()
Localize results, including header columns, List-Of-Values and timestamp values.- Returns:
- the value
-
getShouldUseAcceleration
public Boolean getShouldUseAcceleration()
Controls if query should ignore pre-calculated results if available and only use raw data.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-