Class OnInsertSplitStreamItem
java.lang.Object
com.espertech.esper.common.client.soda.OnInsertSplitStreamItem
- All Implemented Interfaces:
Serializable
Items within the split-stream syntax to contain a tuple of insert-into, select and where-clause.
- See Also:
-
Constructor Summary
ConstructorDescriptionCtor.OnInsertSplitStreamItem
(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause) Ctor.OnInsertSplitStreamItem
(InsertIntoClause insertInto, SelectClause selectClause, List<ContainedEventSelect> propertySelects, String propertySelectsStreamName, Expression whereClause) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionstatic OnInsertSplitStreamItem
create
(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause) Factory method for split-stream items.static OnInsertSplitStreamItem
create
(InsertIntoClause insertInto, SelectClause selectClause, List<ContainedEventSelect> propertySelects, String propertySelectsStreamName, Expression whereClause) Factory method for split-stream items.Returns the insert-into clause.Returns contained-event selection, if any.Returns the stream name assigned to contained-event selects, or nullReturns the select-clause.Returns the optional where-clause.void
setInsertInto
(InsertIntoClause insertInto) Sets the insert-into clause.void
setPropertySelects
(List<ContainedEventSelect> propertySelects) Sets contained-event selection, if any.void
setPropertySelectsStreamName
(String propertySelectsStreamName) Sets the stream name assigned to contained-event selects, or nullvoid
setSelectClause
(SelectClause selectClause) Sets the select-clause.void
setWhereClause
(Expression whereClause) Sets the optional where-clause
-
Constructor Details
-
OnInsertSplitStreamItem
public OnInsertSplitStreamItem()Ctor. -
OnInsertSplitStreamItem
public OnInsertSplitStreamItem(InsertIntoClause insertInto, SelectClause selectClause, List<ContainedEventSelect> propertySelects, String propertySelectsStreamName, Expression whereClause) Ctor.- Parameters:
insertInto
- the insert-into clauseselectClause
- the select-clausepropertySelects
- contained-event selectionspropertySelectsStreamName
- contained-event selection stream namewhereClause
- where-expression or null
-
OnInsertSplitStreamItem
public OnInsertSplitStreamItem(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause) Ctor.- Parameters:
insertInto
- the insert-into clauseselectClause
- the select-clausewhereClause
- where-expression or null
-
-
Method Details
-
create
public static OnInsertSplitStreamItem create(InsertIntoClause insertInto, SelectClause selectClause, Expression whereClause) Factory method for split-stream items.- Parameters:
insertInto
- the insert-into clauseselectClause
- the select-clausewhereClause
- where-expression or null- Returns:
- split-stream item
-
create
public static OnInsertSplitStreamItem create(InsertIntoClause insertInto, SelectClause selectClause, List<ContainedEventSelect> propertySelects, String propertySelectsStreamName, Expression whereClause) Factory method for split-stream items.- Parameters:
insertInto
- the insert-into clauseselectClause
- the select-clausepropertySelects
- contained-event selects in the from-clausepropertySelectsStreamName
- stream name for contained-event selectionwhereClause
- where-expression or null- Returns:
- split-stream item
-
getInsertInto
Returns the insert-into clause.- Returns:
- insert-into clause
-
setInsertInto
Sets the insert-into clause.- Parameters:
insertInto
- insert-into clause
-
getSelectClause
Returns the select-clause.- Returns:
- select-clause
-
setSelectClause
Sets the select-clause.- Parameters:
selectClause
- select-clause
-
getWhereClause
Returns the optional where-clause.- Returns:
- where-clause
-
setWhereClause
Sets the optional where-clause- Parameters:
whereClause
- to set
-
getPropertySelects
Returns contained-event selection, if any.- Returns:
- list or null
-
setPropertySelects
Sets contained-event selection, if any.- Parameters:
propertySelects
- list
-
getPropertySelectsStreamName
Returns the stream name assigned to contained-event selects, or null- Returns:
- stream name
-
setPropertySelectsStreamName
Sets the stream name assigned to contained-event selects, or null- Parameters:
propertySelectsStreamName
- stream name
-