public enum SelectClauseStreamSelectorEnum extends Enum<SelectClauseStreamSelectorEnum>
Enum Constant and Description |
---|
ISTREAM_ONLY
Indicates selection of the insert stream only.
|
RSTREAM_ISTREAM_BOTH
Indicates selection of both the insert and the remove stream.
|
RSTREAM_ONLY
Indicates selection of the remove stream only.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSelectsIStream() |
boolean |
isSelectsRStream() |
static StreamSelector |
mapFromSODA(SelectClauseStreamSelectorEnum selector)
Maps the internal stream selector to the SODA-representation
|
static SelectClauseStreamSelectorEnum |
mapFromSODA(StreamSelector selector)
Maps the SODA-selector to the internal representation
|
static SelectClauseStreamSelectorEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SelectClauseStreamSelectorEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectClauseStreamSelectorEnum RSTREAM_ONLY
public static final SelectClauseStreamSelectorEnum ISTREAM_ONLY
public static final SelectClauseStreamSelectorEnum RSTREAM_ISTREAM_BOTH
public static SelectClauseStreamSelectorEnum[] values()
for (SelectClauseStreamSelectorEnum c : SelectClauseStreamSelectorEnum.values()) System.out.println(c);
public static SelectClauseStreamSelectorEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isSelectsRStream()
public boolean isSelectsIStream()
public static SelectClauseStreamSelectorEnum mapFromSODA(StreamSelector selector)
selector
- is the SODA-selector to mappublic static StreamSelector mapFromSODA(SelectClauseStreamSelectorEnum selector)
selector
- is the internal selector to map