@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class SqlText extends Object
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
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
SqlText.Builder |
| 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) |
Set<String> |
get__explicitlySet__() |
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() |
@ConstructorProperties(value={"version","sqlIdentifier","timeCollected","sqlCommand","exactMatchingSignature","forceMatchingSignature","sqlFullText"}) @Deprecated 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.
Copyright © 2016–2021. All rights reserved.