Interface DdlStatementActionInfoOrBuilder (6.89.0)

publicinterfaceDdlStatementActionInfoOrBuilderextendsMessageOrBuilder

Methods

getAction()

publicabstractStringgetAction()

The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string.

string action = 1;

Returns
TypeDescription
String

The action.

getActionBytes()

publicabstractByteStringgetActionBytes()

The action for the DDL statement, e.g. CREATE, ALTER, DROP, GRANT, etc. This field is a non-empty string.

string action = 1;

Returns
TypeDescription
ByteString

The bytes for action.

getEntityNames(int index)

publicabstractStringgetEntityNames(intindex)

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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The entityNames at the given index.

getEntityNamesBytes(int index)

publicabstractByteStringgetEntityNamesBytes(intindex)

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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the entityNames at the given index.

getEntityNamesCount()

publicabstractintgetEntityNamesCount()

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
TypeDescription
int

The count of entityNames.

getEntityNamesList()

publicabstractList<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
TypeDescription
List<String>

A list containing the entityNames.

getEntityType()

publicabstractStringgetEntityType()

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
TypeDescription
String

The entityType.

getEntityTypeBytes()

publicabstractByteStringgetEntityTypeBytes()

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
TypeDescription
ByteString

The bytes for entityType.