Class LiteralDTO.Builder
java.lang.Object
org.apache.gravitino.dto.rel.expressions.LiteralDTO.Builder
- Enclosing class:
- LiteralDTO
Builder for LiteralDTO.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a LiteralDTO instance.withDataType
(Type dataType) Set the data type of the literal.Set the value of the literal.
-
Method Details
-
withValue
Set the value of the literal.- Parameters:
value
- The value of the literal.- Returns:
- The builder.
-
withDataType
Set the data type of the literal.- Parameters:
dataType
- The data type of the literal.- Returns:
- The builder.
-
build
Builds a LiteralDTO instance.- Returns:
- The LiteralDTO instance.
-