@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlText extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
SQL Text type object.
Note: Objects should always be created or deserialized using the SqlText.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 SqlText.Builder
, which maintain a
set of all explicitly set fields called SqlText.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 |
SqlText.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SqlText(Float version,
String sqlIdentifier,
Date timeCollected,
String sqlCommand,
String exactMatchingSignature,
String forceMatchingSignature,
String sqlFullText)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SqlText.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getExactMatchingSignature()
Exact matching signature Example:
"18067345456756876713" |
String |
getForceMatchingSignature()
Force matching signature Example:
"18067345456756876713" |
String |
getSqlCommand()
SQL command Example:
"SELECT" |
String |
getSqlFullText()
Full SQL Text Example:
"SELECT
username,profile,default_tablespace,temporary_tablespace FROM dba_users" Disclaimer: SQL
text being uploaded explicitly via APIs is not masked. |
String |
getSqlIdentifier()
Unique SQL_ID for a SQL Statement.
|
Date |
getTimeCollected()
Collection timestamp Example:
"2020-05-06T00:00:00.000Z" |
Float |
getVersion()
Version Example:
1 |
int |
hashCode() |
SqlText.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"version","sqlIdentifier","timeCollected","sqlCommand","exactMatchingSignature","forceMatchingSignature","sqlFullText"}) public SqlText(Float version, String sqlIdentifier, Date timeCollected, String sqlCommand, String exactMatchingSignature, String forceMatchingSignature, String sqlFullText)
public static SqlText.Builder builder()
Create a new builder.
public SqlText.Builder toBuilder()
public Float getVersion()
Version Example: 1
public String getSqlIdentifier()
Unique SQL_ID for a SQL Statement.
public Date getTimeCollected()
Collection timestamp Example: "2020-05-06T00:00:00.000Z"
public String getSqlCommand()
SQL command Example: "SELECT"
public String getExactMatchingSignature()
Exact matching signature Example: "18067345456756876713"
public String getForceMatchingSignature()
Force matching signature Example: "18067345456756876713"
public String getSqlFullText()
Full SQL Text Example: "SELECT
username,profile,default_tablespace,temporary_tablespace FROM dba_users"
Disclaimer: SQL
text being uploaded explicitly via APIs is not masked. Any sensitive literals contained in
the sqlFullText column should be masked prior to ingestion.
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.