Interface DdlStatementActionInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DdlStatementActionInfo,DdlStatementActionInfo.Builder
public interface DdlStatementActionInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAction()The action for the DDL statement, e.g.com.google.protobuf.ByteStringgetActionBytes()The action for the DDL statement, e.g.StringgetEntityNames(int index)The entity name(s) being operated on the DDL statement.com.google.protobuf.ByteStringgetEntityNamesBytes(int index)The entity name(s) being operated on the DDL statement.intgetEntityNamesCount()The entity name(s) being operated on the DDL statement.List<String>getEntityNamesList()The entity name(s) being operated on the DDL statement.StringgetEntityType()The entity type for the DDL statement, e.g.com.google.protobuf.ByteStringgetEntityTypeBytes()The entity type for the DDL statement, e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAction
String getAction()
The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string.
string action = 1;- Returns:
- The action.
-
getActionBytes
com.google.protobuf.ByteString getActionBytes()
The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string.
string action = 1;- Returns:
- The bytes for action.
-
getEntityType
String getEntityType()
The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc. This field can be empty string for some DDL statement, e.g. for statement "ANALYZE", `entity_type` = "".
string entity_type = 2;- Returns:
- The entityType.
-
getEntityTypeBytes
com.google.protobuf.ByteString getEntityTypeBytes()
The entity type for the DDL statement, e.g. TABLE, INDEX, VIEW, etc. This field can be empty string for some DDL statement, e.g. for statement "ANALYZE", `entity_type` = "".
string entity_type = 2;- Returns:
- The bytes for entityType.
-
getEntityNamesList
List<String> getEntityNamesList()
The entity name(s) being operated on the DDL statement. E.g. 1. For statement "CREATE TABLE t1(...)", `entity_names` = ["t1"]. 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = ["r1", "r2"]. 3. For statement "ANALYZE", `entity_names` = [].
repeated string entity_names = 3;- Returns:
- A list containing the entityNames.
-
getEntityNamesCount
int getEntityNamesCount()
The entity name(s) being operated on the DDL statement. E.g. 1. For statement "CREATE TABLE t1(...)", `entity_names` = ["t1"]. 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = ["r1", "r2"]. 3. For statement "ANALYZE", `entity_names` = [].
repeated string entity_names = 3;- Returns:
- The count of entityNames.
-
getEntityNames
String getEntityNames(int index)
The entity name(s) being operated on the DDL statement. E.g. 1. For statement "CREATE TABLE t1(...)", `entity_names` = ["t1"]. 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = ["r1", "r2"]. 3. For statement "ANALYZE", `entity_names` = [].
repeated string entity_names = 3;- Parameters:
index- The index of the element to return.- Returns:
- The entityNames at the given index.
-
getEntityNamesBytes
com.google.protobuf.ByteString getEntityNamesBytes(int index)
The entity name(s) being operated on the DDL statement. E.g. 1. For statement "CREATE TABLE t1(...)", `entity_names` = ["t1"]. 2. For statement "GRANT ROLE r1, r2 ...", `entity_names` = ["r1", "r2"]. 3. For statement "ANALYZE", `entity_names` = [].
repeated string entity_names = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the entityNames at the given index.
-
-