public interface NumericCastableQueryStepBuilder<S,E> extends QueryStepBuilder<S,E>
| Modifier and Type | Method and Description |
|---|---|
NumericQueryStepBuilder<S,java.lang.Byte> |
asByte()
Converts the elements in the current result set into
Bytes. |
NumericQueryStepBuilder<S,java.lang.Double> |
asDouble()
Converts the elements in the current result set into
Doubles. |
NumericQueryStepBuilder<S,java.lang.Float> |
asFloat()
Converts the elements in the current result set into
Floats. |
NumericQueryStepBuilder<S,java.lang.Integer> |
asInteger()
Converts the elements in the current result set into
Integers. |
NumericQueryStepBuilder<S,java.lang.Long> |
asLong()
Converts the elements in the current result set into
Longs. |
NumericQueryStepBuilder<S,java.lang.Short> |
asShort()
Converts the elements in the current result set into
Shorts. |
NumericQueryStepBuilder<S,java.lang.Byte> asByte()
Bytes.
This method first checks if the element in question is an instance of Byte. If it is a Byte, it is cast down and
forwarded. Otherwise, it is discarded, i.e. all non-Bytes will be filtered out. All null values will
also be filtered out.
null.NumericQueryStepBuilder<S,java.lang.Short> asShort()
Shorts.
This method first checks if the element in question is an instance of Short. If it is a Short, it is cast down
and forwarded. Otherwise, it is discarded, i.e. all non-Shorts will be filtered out. All null values
will also be filtered out.
null.NumericQueryStepBuilder<S,java.lang.Integer> asInteger()
Integers.
This method first checks if the element in question is an instance of Integer. If it is a Integer, it is cast
down and forwarded. Otherwise, it is discarded, i.e. all non-Integers will be filtered out. All null
values will also be filtered out.
null.NumericQueryStepBuilder<S,java.lang.Long> asLong()
Longs.
This method first checks if the element in question is an instance of Long. If it is a Long, it is cast down and
forwarded. Otherwise, it is discarded, i.e. all non-Longs will be filtered out. All null values will
also be filtered out.
null.NumericQueryStepBuilder<S,java.lang.Float> asFloat()
Floats.
This method first checks if the element in question is an instance of Float. If it is a Float, it is cast down
and forwarded. Otherwise, it is discarded, i.e. all non-Floats will be filtered out. All null values
will also be filtered out.
null.NumericQueryStepBuilder<S,java.lang.Double> asDouble()
Doubles.
This method first checks if the element in question is an instance of Double. If it is a Double, it is cast down
and forwarded. Otherwise, it is discarded, i.e. all non-Doubles will be filtered out. All null
values will also be filtered out.
null.