com.espertech.esper.client
Class ConfigurationEngineDefaults.StreamSelection

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationEngineDefaults.StreamSelection
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ConfigurationEngineDefaults

public static class ConfigurationEngineDefaults.StreamSelection
extends java.lang.Object
implements java.io.Serializable

Holds default settings for stream selection in the select-clause.

See Also:
Serialized Form

Constructor Summary
protected ConfigurationEngineDefaults.StreamSelection()
          Ctor - sets up defaults.
 
Method Summary
 StreamSelector getDefaultStreamSelector()
          Returns the default stream selector.
 void setDefaultStreamSelector(StreamSelector defaultStreamSelector)
          Sets the default stream selector.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationEngineDefaults.StreamSelection

protected ConfigurationEngineDefaults.StreamSelection()
Ctor - sets up defaults.

Method Detail

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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com