| 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> |
RecordSink.getColumnTypes() |
List<Type> |
RecordSet.getColumnTypes() |
List<Type> |
InMemoryRecordSet.getColumnTypes() |
| Modifier and Type | Method and Description |
|---|---|
static InMemoryRecordSet.Builder |
InMemoryRecordSet.builder(Collection<Type> columnsTypes) |
PageIndexer |
PageIndexerFactory.createPageIndexer(List<? extends Type> types)
Deprecated.
|
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,
String comment,
boolean hidden) |
| Constructor and Description |
|---|
InMemoryRecordSet(Collection<? extends Type> types,
Collection<? extends List<?>> records) |
PageBuilder(int initialExpectedEntries,
List<? extends Type> types) |
PageBuilder(List<? extends Type> types) |
RecordPageSource(List<Type> types,
RecordCursor cursor) |
| 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) |
| Constructor and Description |
|---|
ArrayBlockBuilder(Type elementType,
BlockBuilderStatus blockBuilderStatus,
int expectedEntries) |
ArrayBlockBuilder(Type elementType,
BlockBuilderStatus blockBuilderStatus,
int expectedEntries,
int expectedBytesPerEntry) |
| Constructor and Description |
|---|
InterleavedBlockBuilder(List<Type> types,
BlockBuilderStatus blockBuilderStatus,
int expectedEntries) |
InterleavedBlockBuilder(List<Type> types,
BlockBuilderStatus blockBuilderStatus,
int expectedEntries,
int expectedBytesPerEntry) |
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
ClassLoaderSafeRecordSet.getColumnTypes() |
| Modifier and Type | Method and Description |
|---|---|
BucketFunction |
ConnectorNodePartitioningProvider.getBucketFunction(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorPartitioningHandle partitioningHandle,
List<Type> partitionChannelTypes,
int bucketCount) |
| Modifier and Type | Method and Description |
|---|---|
BucketFunction |
ClassLoaderSafeNodePartitioningProvider.getBucketFunction(ConnectorTransactionHandle transactionHandle,
ConnectorSession session,
ConnectorPartitioningHandle partitioningHandle,
List<Type> partitionChannelTypes,
int bucketCount) |
| 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 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 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 |
Procedure.Argument.getType() |
| Constructor and Description |
|---|
Argument(String name,
Type type) |
| 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,
java.util.function.Function<Object,T> decoder,
java.util.function.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 |
AbstractFixedWidthType |
class |
AbstractType |
class |
AbstractVariableWidthType |
class |
BigintType |
class |
BooleanType |
class |
DateType |
class |
DecimalType |
class |
DoubleType |
class |
HyperLogLogType |
class |
IntegerType |
class |
IntervalDayTimeType |
class |
IntervalYearMonthType |
class |
P4HyperLogLogType |
class |
TimestampType |
class |
TimestampWithTimeZoneType |
class |
TimeType |
class |
TimeWithTimeZoneType |
class |
VarbinaryType |
class |
VarcharType |
| Modifier and Type | Method and Description |
|---|---|
Type |
TypeManager.getParameterizedType(String baseTypeName,
List<TypeSignature> typeParameters,
List<String> literalParameters)
Deprecated.
|
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 |
TypeParameter.getType() |
Type |
NamedType.getType() |
Type |
TypeManager.getType(TypeSignature signature)
Gets the type with the specified signature, or null if not found.
|
static Type |
TypeSerde.readType(TypeManager typeManager,
io.airlift.slice.SliceInput sliceInput) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Type> |
TypeManager.getCommonSuperType(List<? extends Type> types) |
Optional<Type> |
TypeManager.getCommonSuperType(Type firstType,
Type secondType) |
List<Type> |
Type.getTypeParameters()
For parameterized types returns the list of parameters.
|
List<Type> |
AbstractType.getTypeParameters() |
List<Type> |
TypeManager.getTypes()
Gets a list of all registered types.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Type> |
TypeManager.getCommonSuperType(Type firstType,
Type secondType) |
static boolean |
Decimals.isLongDecimal(Type type) |
static boolean |
Decimals.isShortDecimal(Type type) |
static boolean |
Varchars.isVarcharType(Type type) |
static TypeParameter |
TypeParameter.of(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 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 |
|---|---|
Optional<Type> |
TypeManager.getCommonSuperType(List<? extends Type> types) |
| Constructor and Description |
|---|
NamedType(String name,
Type type) |
Copyright © 2012-2016. All Rights Reserved.