public static final class DataQualityRule.DebugQuery extends GeneratedMessage implements DataQualityRule.DebugQueryOrBuilder
Specifies a SQL statement that is evaluated to return up to 10 scalar
values that are used to debug rules. If the rule fails, the values can help
diagnose the cause of the failure.
The SQL statement must use GoogleSQL
syntax,
and must not contain any semicolons.
You can use the data reference parameter ${data()} to reference the
source table with all of its precondition filters applied. Examples of
precondition filters include row filters, incremental data filters, and
sampling. For more information, see Data reference
parameter.
You can also name results with an explicit alias using [AS] alias. For
more information, see BigQuery explicit
aliases.
Example: SELECT MIN(col1) AS min_col1, MAX(col1) AS max_col1 FROM
${data()}
Protobuf type google.cloud.dataplex.v1.DataQualityRule.DebugQuery
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SQL_STATEMENT_FIELD_NUMBER
public static final int SQL_STATEMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DataQualityRule.DebugQuery getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DataQualityRule.DebugQuery.Builder newBuilder()
newBuilder(DataQualityRule.DebugQuery prototype)
public static DataQualityRule.DebugQuery.Builder newBuilder(DataQualityRule.DebugQuery prototype)
public static DataQualityRule.DebugQuery parseDelimitedFrom(InputStream input)
public static DataQualityRule.DebugQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DataQualityRule.DebugQuery parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.DebugQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DataQualityRule.DebugQuery parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.DebugQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.DebugQuery parseFrom(CodedInputStream input)
public static DataQualityRule.DebugQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.DebugQuery parseFrom(InputStream input)
public static DataQualityRule.DebugQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DataQualityRule.DebugQuery parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataQualityRule.DebugQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DataQualityRule.DebugQuery> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public DataQualityRule.DebugQuery getDefaultInstanceForType()
getDescription()
public String getDescription()
Optional. Specifies the description of the debug query.
- The maximum length is 1,024 characters.
string description = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional. Specifies the description of the debug query.
- The maximum length is 1,024 characters.
string description = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getParserForType()
public Parser<DataQualityRule.DebugQuery> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSqlStatement()
public String getSqlStatement()
Required. Specifies the SQL statement to be executed.
string sql_statement = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The sqlStatement.
|
getSqlStatementBytes()
public ByteString getSqlStatementBytes()
Required. Specifies the SQL statement to be executed.
string sql_statement = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for sqlStatement.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DataQualityRule.DebugQuery.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataQualityRule.DebugQuery.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DataQualityRule.DebugQuery.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides