Class that represents subscription expression literals. More...
Class that represents subscription expression literals.
◆ getKind()
| def streams.SubscriptionExpression.Literal.getKind |
( |
|
self, |
|
|
|
Kind |
|
) |
|
|
Kind of a literal.
- Returns
- literal kind
◆ getRStringValue()
| def streams.SubscriptionExpression.Literal.getRStringValue |
( |
|
self, |
|
|
|
str |
|
) |
|
|
String value of a literal.
- Precondition
- getKind() == RString
- Returns
- string value
- Exceptions
-
| SPLRuntimeSubscriptionInvalidLiteralException |
if the literal is of non-matching type |
◆ getInt64Value()
| def streams.SubscriptionExpression.Literal.getInt64Value |
( |
|
self, |
|
|
|
int |
|
) |
|
|
Integer value of a literal.
- Precondition
- getKind() == Int64
- Returns
- integer value
- Exceptions
-
| SPLRuntimeSubscriptionInvalidLiteralException |
if the literal is of non-matching type |
◆ getFloat64Value()
| def streams.SubscriptionExpression.Literal.getFloat64Value |
( |
|
self, |
|
|
|
float |
|
) |
|
|
Float value of a literal.
- Precondition
- getKind() == Float64
- Returns
- float value
- Exceptions
-
| SPLRuntimeSubscriptionInvalidLiteralException |
if the literal is of non-matching type |
The documentation for this class was generated from the following file: