Concepts to Know : Tokens and Types : Scalar Token Types
 
Share this page                  
Scalar Token Types
Scalar tokens are atomic; they contain only a single value.
The executor optimizes the implementation of many scalar token types by representing the tokens with efficient Java primitive types. The author of an operator can access the efficient representation using type-specific methods (for example, DoubleSettable.set(double) and TimestampValued.asEpochSecs()).