Package io.trino.operator.scalar
Class VersionFunction
- java.lang.Object
-
- io.trino.metadata.SqlScalarFunction
-
- io.trino.operator.scalar.VersionFunction
-
- All Implemented Interfaces:
SqlFunction
public final class VersionFunction extends SqlScalarFunction
-
-
Constructor Summary
Constructors Constructor Description VersionFunction(String nodeVersion)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static io.airlift.slice.SlicegetVersion(String version)ScalarFunctionImplementationspecialize(BoundSignature boundSignature)-
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
-
-
-
-
Constructor Detail
-
VersionFunction
public VersionFunction(String nodeVersion)
-
-
Method Detail
-
specialize
public ScalarFunctionImplementation specialize(BoundSignature boundSignature)
- Overrides:
specializein classSqlScalarFunction
-
getVersion
public static io.airlift.slice.Slice getVersion(String version)
-
-