| Package | Description |
|---|---|
| com.facebook.presto.spi | |
| com.facebook.presto.spi.block | |
| com.facebook.presto.spi.classloader | |
| com.facebook.presto.spi.type |
| Modifier and Type | Method and Description |
|---|---|
Type |
ColumnMetadata.getType() |
Type |
RecordCursor.getType(int field) |
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
RecordSet.getColumnTypes() |
List<Type> |
InMemoryRecordSet.getColumnTypes() |
| Modifier and Type | Method and Description |
|---|---|
static InMemoryRecordSet.Builder |
InMemoryRecordSet.builder(Collection<Type> columnsTypes) |
| Constructor and Description |
|---|
ColumnMetadata(String name,
Type type,
int ordinalPosition,
boolean partitionKey) |
ColumnMetadata(String name,
Type type,
int ordinalPosition,
boolean partitionKey,
String comment,
boolean hidden) |
| Constructor and Description |
|---|
InMemoryRecordSet(Collection<? extends Type> types,
Collection<? extends List<?>> records) |
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.
|
| Modifier and Type | Method and Description |
|---|---|
List<Type> |
ClassLoaderSafeRecordSet.getColumnTypes() |
| 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 |
DoubleType |
class |
HyperLogLogType |
class |
IntervalDayTimeType |
class |
IntervalYearMonthType |
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<Object> literalParameters)
Gets the type with the specified base type, and the given parameters, or null if not found.
|
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 |
|---|---|
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 |
|---|---|
static void |
TypeSerde.writeType(io.airlift.slice.SliceOutput sliceOutput,
Type type) |
Copyright © 2012-2014. All Rights Reserved.