Google Cloud Datastream V1 Client - Class EventFilter (2.7.0)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class EventFilter.

Represents a filter for included data on a stream object.

Generated from protobuf message google.cloud.datastream.v1.EventFilter

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ sql_where_clause string

An SQL-query Where clause selecting which data should be included, not including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 = 'value2'

getSqlWhereClause

An SQL-query Where clause selecting which data should be included, not including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 = 'value2'

Returns
Type Description
string

hasSqlWhereClause

setSqlWhereClause

An SQL-query Where clause selecting which data should be included, not including the "WHERE" keyword. e.g., t.key1 = 'value1' AND t.key2 = 'value2'

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Returns
Type Description
string