Package io.trino.metadata
Class LiteralFunction
- java.lang.Object
-
- io.trino.metadata.SqlScalarFunction
-
- io.trino.metadata.LiteralFunction
-
- All Implemented Interfaces:
SqlFunction
public class LiteralFunction extends SqlScalarFunction
-
-
Field Summary
Fields Modifier and Type Field Description static StringLITERAL_FUNCTION_NAME
-
Constructor Summary
Constructors Constructor Description LiteralFunction(Supplier<BlockEncodingSerde> blockEncodingSerdeSupplier)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ScalarFunctionImplementationspecialize(FunctionBinding functionBinding)static TypetypeForMagicLiteral(Type type)-
Methods inherited from class io.trino.metadata.SqlScalarFunction
getFunctionMetadata, specialize
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.trino.metadata.SqlFunction
getFunctionDependencies, getFunctionDependencies
-
-
-
-
Field Detail
-
LITERAL_FUNCTION_NAME
public static final String LITERAL_FUNCTION_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LiteralFunction
public LiteralFunction(Supplier<BlockEncodingSerde> blockEncodingSerdeSupplier)
-
-
Method Detail
-
specialize
public ScalarFunctionImplementation specialize(FunctionBinding functionBinding)
- Overrides:
specializein classSqlScalarFunction
-
-