Class ConfigurationCompilerStreamSelection

java.lang.Object
com.espertech.esper.common.client.configuration.compiler.ConfigurationCompilerStreamSelection
All Implemented Interfaces:
Serializable

public class ConfigurationCompilerStreamSelection extends Object implements Serializable
Holds default settings for stream selection in the select-clause.
See Also:
  • Constructor Details

    • ConfigurationCompilerStreamSelection

      protected ConfigurationCompilerStreamSelection()
      Ctor - sets up defaults.
  • Method Details

    • getDefaultStreamSelector

      public StreamSelector getDefaultStreamSelector()
      Returns the default stream selector.

      Statements that select data from streams and that do not use one of the explicit stream selection keywords (istream/rstream/irstream), by default, generate selection results for the insert stream only, and not for the remove stream.

      This setting can be used to change the default behavior: Use the RSTREAM_ISTREAM_BOTH value to have your statements generate both insert and remove stream results without the use of the "irstream" keyword in the select clause.

      Returns:
      default stream selector, which is ISTREAM_ONLY unless changed
    • setDefaultStreamSelector

      public void setDefaultStreamSelector(StreamSelector defaultStreamSelector)
      Sets the default stream selector.

      Statements that select data from streams and that do not use one of the explicit stream selection keywords (istream/rstream/irstream), by default, generate selection results for the insert stream only, and not for the remove stream.

      This setting can be used to change the default behavior: Use the RSTREAM_ISTREAM_BOTH value to have your statements generate both insert and remove stream results without the use of the "irstream" keyword in the select clause.

      Parameters:
      defaultStreamSelector - default stream selector