| Modifier and Type | Method and Description |
|---|---|
Type |
ColumnMetadata.getType() |
Type |
RecordCursor.getType(int field) |
Type |
PageBuilder.getType(int channel) |
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
RecordSet.getColumnTypes() |
List<Type> |
InMemoryRecordSet.getColumnTypes() |
default Iterable<Type> |
Plugin.getTypes() |
| Modifier and Type | Method and Description |
|---|---|
static InMemoryRecordSet.Builder |
InMemoryRecordSet.builder(Collection<Type> columnsTypes) |
PageIndexer |
PageIndexerFactory.createPageIndexer(List<? extends Type> types) |
long[] |
PageSorter.sort(List<Type> types,
List<Page> pages,
List<Integer> sortChannels,
List<SortOrder> sortOrders,
int expectedPositions)
Deprecated.
|
static PageBuilder |
PageBuilder.withMaxPageSize(int maxPageBytes,
List<? extends Type> types) |
| Constructor and Description |
|---|
ColumnMetadata(String name,
Type type) |
ColumnMetadata(String name,
Type type,
boolean nullable,
String comment,
String extraInfo,
boolean hidden,
Map<String,Object> properties) |
ColumnMetadata(String name,
Type type,
String comment,
boolean hidden) |
ColumnMetadata(String name,
Type type,
String comment,
String extraInfo,
boolean hidden) |
ColumnMetadata(String name,
Type type,
String comment,
String extraInfo,
boolean hidden,
Map<String,Object> properties) |
| Constructor and Description |
|---|
InMemoryRecordSet(Collection<? extends Type> types,
Iterable<? extends List<?>> records) |
PageBuilder(int initialExpectedEntries,
List<? extends Type> types) |
PageBuilder(List<? extends Type> types)
Create a PageBuilder with given types.
|
RecordPageSource(List<Type> types,
RecordCursor cursor) |
| Modifier and Type | Field and Description |
|---|---|
protected Type |
AbstractMapBlock.keyType |
| Modifier and Type | Method and Description |
|---|---|
int |
SortOrder.compareBlockValue(Type type,
Block leftBlock,
int leftPosition,
Block rightBlock,
int rightPosition)
Compares the values at the specified positions.
|
static Block |
RunLengthEncodedBlock.create(Type type,
Object value,
int positionCount) |
static MapBlock |
MapBlock.createMapBlockInternal(int startOffset,
int positionCount,
Optional<boolean[]> mapIsNull,
int[] offsets,
Block keyBlock,
Block valueBlock,
AbstractMapBlock.HashTables hashTables,
Type keyType,
MethodHandle keyBlockNativeEquals,
MethodHandle keyNativeHashCode,
MethodHandle keyBlockHashCode)
Create a map block directly without per element validations.
|
String |
DuplicateMapKeyException.getDetailedMessage(Type keyType,
ConnectorSession session) |
static MethodHandle |
MethodHandleUtil.nativeValueGetter(Type type) |
static MethodHandle |
MethodHandleUtil.nativeValueWriter(Type type) |
| Constructor and Description |
|---|
AbstractMapBlock(Type keyType,
MethodHandle keyNativeHashCode,
MethodHandle keyBlockNativeEquals,
MethodHandle keyBlockHashCode) |
ArrayBlockBuilder(Type elementType,
BlockBuilderStatus blockBuilderStatus,
int expectedEntries) |
ArrayBlockBuilder(Type elementType,
BlockBuilderStatus blockBuilderStatus,
int expectedEntries,
int expectedBytesPerEntry) |
MapBlockBuilder(Type keyType,
Type valueType,
MethodHandle keyBlockNativeEquals,
MethodHandle keyBlockEquals,
MethodHandle keyNativeHashCode,
MethodHandle keyBlockHashCode,
BlockBuilderStatus blockBuilderStatus,
int expectedEntries) |
| Constructor and Description |
|---|
RowBlockBuilder(List<Type> fieldTypes,
BlockBuilderStatus blockBuilderStatus,
int expectedEntries) |
| Modifier and Type | Method and Description |
|---|---|
BucketFunction |
ConnectorNodePartitioningProvider.getBucketFunction(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorPartitioningHandle partitioningHandle,
List<Type> partitionChannelTypes,
int bucketCount) |
default ConnectorPartitioningHandle |
ConnectorMetadata.getPartitioningHandleForExchange(ConnectorSession session,
int partitionCount,
List<Type> partitionTypes)
Provides partitioning handle for exchange.
|
| Modifier and Type | Method and Description |
|---|---|
BucketFunction |
ClassLoaderSafeNodePartitioningProvider.getBucketFunction(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorPartitioningHandle partitioningHandle,
List<Type> partitionChannelTypes,
int bucketCount) |
ConnectorPartitioningHandle |
ClassLoaderSafeConnectorMetadata.getPartitioningHandleForExchange(ConnectorSession session,
int partitionCount,
List<Type> partitionTypes) |
| Modifier and Type | Method and Description |
|---|---|
Type |
AccumulatorStateSerializer.getSerializedType() |
| Modifier and Type | Method and Description |
|---|---|
FunctionHandle |
StandardFunctionResolution.arithmeticFunction(OperatorType operator,
Type leftType,
Type rightType) |
FunctionHandle |
StandardFunctionResolution.betweenFunction(Type valueType,
Type lowerBoundType,
Type upperBoundType) |
boolean |
TypeVariableConstraint.canBind(Type type) |
FunctionHandle |
StandardFunctionResolution.comparisonFunction(OperatorType operator,
Type leftType,
Type rightType) |
FunctionHandle |
StandardFunctionResolution.likeCharFunction(Type valueType) |
FunctionHandle |
StandardFunctionResolution.negateFunction(Type type) |
FunctionHandle |
StandardFunctionResolution.subscriptFunction(Type baseType,
Type indexType) |
| Modifier and Type | Method and Description |
|---|---|
FunctionHandle |
StandardFunctionResolution.arrayConstructor(List<? extends Type> argumentTypes) |
| Modifier and Type | Method and Description |
|---|---|
Type |
ValueSet.getType() |
Type |
SortedRangeSet.getType() |
Type |
Range.getType() |
Type |
NullableValue.getType() |
Type |
NullableValue.Serializable.getType() |
Type |
Marker.getType() |
Type |
EquatableValueSet.getType() |
Type |
EquatableValueSet.ValueEntry.getType() |
Type |
Domain.getType() |
Type |
AllOrNoneValueSet.getType() |
| Modifier and Type | Method and Description |
|---|---|
static Marker |
Marker.above(Type type,
Object value) |
static ValueSet |
ValueSet.all(Type type) |
static Range |
Range.all(Type type) |
static Domain |
Domain.all(Type type) |
static NullableValue |
NullableValue.asNull(Type type) |
static Marker |
Marker.below(Type type,
Object value) |
static Object |
Utils.blockToNativeValue(Type type,
Block block) |
static ValueSet |
ValueSet.copyOf(Type type,
Collection<Object> values) |
static SortedRangeSet |
SortedRangeSet.copyOf(Type type,
List<Range> ranges) |
static ValueSet |
ValueSet.copyOfRanges(Type type,
Collection<Range> ranges) |
static EquatableValueSet.ValueEntry |
EquatableValueSet.ValueEntry.create(Type type,
Object value) |
static Range |
Range.equal(Type type,
Object value) |
static Marker |
Marker.exactly(Type type,
Object value) |
static Range |
Range.greaterThan(Type type,
Object low) |
static Range |
Range.greaterThanOrEqual(Type type,
Object low) |
static Range |
Range.lessThan(Type type,
Object high) |
static Range |
Range.lessThanOrEqual(Type type,
Object high) |
static Marker |
Marker.lowerUnbounded(Type type) |
static Domain |
Domain.multipleValues(Type type,
List<Object> values) |
static Block |
Utils.nativeValueToBlock(Type type,
Object object) |
static ValueSet |
ValueSet.none(Type type) |
static Domain |
Domain.none(Type type) |
static Domain |
Domain.notNull(Type type) |
static NullableValue |
NullableValue.of(Type type,
Object value) |
static ValueSet |
ValueSet.of(Type type,
Object first,
Object... rest) |
static Domain |
Domain.onlyNull(Type type) |
static Range |
Range.range(Type type,
Object low,
boolean lowInclusive,
Object high,
boolean highInclusive) |
static Domain |
Domain.singleValue(Type type,
Object value) |
static Marker |
Marker.upperUnbounded(Type type) |
| Constructor and Description |
|---|
AllOrNoneValueSet(Type type,
boolean all) |
EquatableValueSet(Type type,
boolean whiteList,
Set<EquatableValueSet.ValueEntry> entries) |
Marker(Type type,
Optional<Block> valueBlock,
Marker.Bound bound)
LOWER UNBOUNDED is specified with an empty value and a ABOVE bound
UPPER UNBOUNDED is specified with an empty value and a BELOW bound
|
NullableValue(Type type,
Object value) |
Serializable(Type type,
Block block) |
ValueEntry(Type type,
Block block) |
| Modifier and Type | Method and Description |
|---|---|
Type |
VariableReferenceExpression.getType() |
Type |
SpecialFormExpression.getType() |
abstract Type |
RowExpression.getType() |
Type |
LambdaDefinitionExpression.getType() |
Type |
InputReferenceExpression.getType() |
Type |
ConstantExpression.getType() |
Type |
CallExpression.getType() |
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
LambdaDefinitionExpression.getArgumentTypes() |
| Modifier and Type | Method and Description |
|---|---|
static ConstantExpression |
ConstantExpression.createConstantExpression(Block valueBlock,
Type type) |
| Constructor and Description |
|---|
CallExpression(String displayName,
FunctionHandle functionHandle,
Type returnType,
List<RowExpression> arguments) |
ConstantExpression(Object value,
Type type) |
InputReferenceExpression(int field,
Type type) |
SpecialFormExpression(SpecialFormExpression.Form form,
Type returnType,
List<RowExpression> arguments) |
SpecialFormExpression(SpecialFormExpression.Form form,
Type returnType,
RowExpression... arguments) |
VariableReferenceExpression(String name,
Type type) |
| Constructor and Description |
|---|
LambdaDefinitionExpression(List<Type> argumentTypes,
List<String> arguments,
RowExpression body) |
| Modifier and Type | Method and Description |
|---|---|
Type |
PropertyMetadata.getSqlType()
SQL type of the property.
|
| Constructor and Description |
|---|
PropertyMetadata(String name,
String description,
Type sqlType,
Class<T> javaType,
T defaultValue,
boolean hidden,
Function<Object,T> decoder,
Function<T,Object> encoder) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixedWidthType
FixedWidthType is a type that has a fixed size for every value.
|
interface |
VariableWidthType
VariableWidthType is a type that can have a different size for every value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIntType |
class |
AbstractLongType |
class |
AbstractType |
class |
AbstractVariableWidthType |
class |
ArrayType |
class |
BigintType |
class |
BooleanType |
class |
CharType |
class |
DateType |
class |
DecimalType |
class |
DoubleType |
class |
FunctionType |
class |
HyperLogLogType |
class |
IntegerType |
class |
MapType |
class |
P4HyperLogLogType |
class |
QuantileDigestType |
class |
RealType |
class |
RowType
As defined in ISO/IEC FCD 9075-2 (SQL 2011), section 4.8
|
class |
SmallintType |
class |
TimestampType |
class |
TimestampWithTimeZoneType |
class |
TimeType |
class |
TimeWithTimeZoneType |
class |
TinyintType |
class |
VarbinaryType |
class |
VarcharType |
| Modifier and Type | Method and Description |
|---|---|
Type |
QuantileDigestParametricType.createType(TypeManager typeManager,
List<TypeParameter> parameters) |
Type |
ParametricType.createType(TypeManager typeManager,
List<TypeParameter> parameters) |
Type |
ArrayType.getElementType() |
Type |
MapType.getKeyType() |
Type |
TypeManager.getParameterizedType(String baseTypeName,
List<TypeSignatureParameter> typeParameters)
Gets the type with the specified base type, and the given parameters, or null if not found.
|
Type |
FunctionType.getReturnType() |
Type |
TypeParameter.getType() |
Type |
RowType.Field.getType() |
Type |
NamedType.getType() |
Type |
TypeManager.getType(TypeSignature signature)
Gets the type with the specified signature, or null if not found.
|
Type |
MapType.getValueType() |
static Type |
TypeSerde.readType(TypeManager typeManager,
io.airlift.slice.SliceInput sliceInput) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Type> |
TypeManager.coerceTypeBase(Type sourceType,
String resultTypeBase) |
List<Type> |
FunctionType.getArgumentTypes() |
Optional<Type> |
TypeManager.getCommonSuperType(Type firstType,
Type secondType) |
List<Type> |
Type.getTypeParameters()
For parameterized types returns the list of parameters.
|
List<Type> |
RowType.getTypeParameters() |
List<Type> |
QuantileDigestType.getTypeParameters() |
List<Type> |
MapType.getTypeParameters() |
List<Type> |
FunctionType.getTypeParameters() |
List<Type> |
ArrayType.getTypeParameters() |
List<Type> |
AbstractType.getTypeParameters() |
List<Type> |
TypeManager.getTypes()
Gets a list of all registered types.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
TypeManager.canCoerce(Type actualType,
Type expectedType) |
Optional<Type> |
TypeManager.coerceTypeBase(Type sourceType,
String resultTypeBase) |
static Block |
MapType.createMapBlockInternal(TypeManager typeManager,
Type keyType,
int startOffset,
int positionCount,
Optional<boolean[]> mapIsNull,
int[] offsets,
Block keyBlock,
Block valueBlock,
AbstractMapBlock.HashTables hashTables)
Create a map block directly without per element validations.
|
static RowType.Field |
RowType.field(String name,
Type type) |
static RowType.Field |
RowType.field(Type type) |
Optional<Type> |
TypeManager.getCommonSuperType(Type firstType,
Type secondType) |
static boolean |
Chars.isCharType(Type type) |
static boolean |
Decimals.isLongDecimal(Type type) |
static boolean |
Decimals.isShortDecimal(Type type) |
boolean |
TypeManager.isTypeOnlyCoercion(Type actualType,
Type expectedType) |
static boolean |
VarbinaryType.isVarbinaryType(Type type) |
static boolean |
Varchars.isVarcharType(Type type) |
static TypeParameter |
TypeParameter.of(Type type) |
static io.airlift.slice.Slice |
Chars.padSpaces(io.airlift.slice.Slice slice,
Type type) |
static Object |
TypeUtils.readNativeValue(Type type,
Block block,
int position)
Get the native value as an object in the value at
position of block. |
static io.airlift.slice.Slice |
Varchars.truncateToLength(io.airlift.slice.Slice slice,
Type type) |
static io.airlift.slice.Slice |
Chars.truncateToLengthAndTrimSpaces(io.airlift.slice.Slice slice,
Type type) |
static void |
TypeUtils.writeNativeValue(Type type,
BlockBuilder blockBuilder,
Object value)
Write a native value object to the current entry of
blockBuilder. |
static void |
TypeSerde.writeType(io.airlift.slice.SliceOutput sliceOutput,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
static RowType |
RowType.anonymous(List<Type> types) |
MethodHandle |
TypeManager.resolveOperator(OperatorType operatorType,
List<? extends Type> argumentTypes) |
static RowType |
RowType.withDefaultFieldNames(List<Type> types) |
| Constructor and Description |
|---|
ArrayType(Type elementType) |
Field(Optional<String> name,
Type type) |
FunctionType(List<Type> argumentTypes,
Type returnType) |
MapType(Type keyType,
Type valueType,
MethodHandle keyBlockNativeEquals,
MethodHandle keyBlockEquals,
MethodHandle keyNativeHashCode,
MethodHandle keyBlockHashCode) |
NamedType(Optional<RowFieldName> name,
Type type) |
QuantileDigestType(Type type) |
| Constructor and Description |
|---|
FunctionType(List<Type> argumentTypes,
Type returnType) |
Copyright © 2012–2019. All rights reserved.