Interface TriggerEntityOrBuilder (2.23.0)

public interface TriggerEntityOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomFeatures()

public abstract Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public abstract StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
TypeDescription
StructOrBuilder

getName()

public abstract String getName()

The name of the trigger.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the trigger.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSqlCode()

public abstract String getSqlCode()

The SQL code which creates the trigger.

string sql_code = 4;

Returns
TypeDescription
String

The sqlCode.

getSqlCodeBytes()

public abstract ByteString getSqlCodeBytes()

The SQL code which creates the trigger.

string sql_code = 4;

Returns
TypeDescription
ByteString

The bytes for sqlCode.

getTriggerType()

public abstract String getTriggerType()

Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.

string trigger_type = 3;

Returns
TypeDescription
String

The triggerType.

getTriggerTypeBytes()

public abstract ByteString getTriggerTypeBytes()

Indicates when the trigger fires, for example BEFORE STATEMENT, AFTER EACH ROW.

string trigger_type = 3;

Returns
TypeDescription
ByteString

The bytes for triggerType.

getTriggeringEvents(int index)

public abstract String getTriggeringEvents(int index)

The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

repeated string triggering_events = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The triggeringEvents at the given index.

getTriggeringEventsBytes(int index)

public abstract ByteString getTriggeringEventsBytes(int index)

The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

repeated string triggering_events = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the triggeringEvents at the given index.

getTriggeringEventsCount()

public abstract int getTriggeringEventsCount()

The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

repeated string triggering_events = 2;

Returns
TypeDescription
int

The count of triggeringEvents.

getTriggeringEventsList()

public abstract List<String> getTriggeringEventsList()

The DML, DDL, or database events that fire the trigger, for example INSERT, UPDATE.

repeated string triggering_events = 2;

Returns
TypeDescription
List<String>

A list containing the triggeringEvents.

hasCustomFeatures()

public abstract boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.