Package io.trino.plugin.jdbc
Class QueryParameter
- java.lang.Object
-
- io.trino.plugin.jdbc.QueryParameter
-
public final class QueryParameter extends Object
-
-
Constructor Summary
Constructors Constructor Description QueryParameter(JdbcTypeHandle jdbcType, Type type, Optional<Object> value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryParameterfromValueAsBlock(JdbcTypeHandle jdbcType, Type type, Block valueBlock)JdbcTypeHandlegetJdbcType()TypegetType()Optional<Object>getValue()BlockgetValueBlock()
-
-
-
Constructor Detail
-
QueryParameter
public QueryParameter(JdbcTypeHandle jdbcType, Type type, Optional<Object> value)
-
-
Method Detail
-
fromValueAsBlock
public static QueryParameter fromValueAsBlock(JdbcTypeHandle jdbcType, Type type, Block valueBlock)
-
getJdbcType
public JdbcTypeHandle getJdbcType()
-
getType
public Type getType()
-
getValueBlock
public Block getValueBlock()
-
-