Interface TriggerEntityOrBuilder (2.54.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
Type Description
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public abstract StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
Type Description
StructOrBuilder

getName()

public abstract String getName()

The name of the trigger.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the trigger.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSqlCode()

public abstract String getSqlCode()

The SQL code which creates the trigger.

string sql_code = 4;

Returns
Type Description
String

The sqlCode.

getSqlCodeBytes()

public abstract ByteString getSqlCodeBytes()

The SQL code which creates the trigger.

string sql_code = 4;

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the triggeringEvents.

hasCustomFeatures()

public abstract boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
Type Description
boolean

Whether the customFeatures field is set.