Package io.trino.plugin.tpch
Class TpchRecordSet<E extends io.trino.tpch.TpchEntity>
java.lang.Object
io.trino.plugin.tpch.TpchRecordSet<E>
- All Implemented Interfaces:
RecordSet
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTpchRecordSet.TpchRecordCursor<E extends io.trino.tpch.TpchEntity> -
Constructor Summary
ConstructorsConstructorDescriptionTpchRecordSet(Iterable<E> rows, io.trino.tpch.TpchTable<E> table, List<io.trino.tpch.TpchColumn<E>> columns, DecimalTypeMapping decimalTypeMapping, TupleDomain<ColumnHandle> predicate) -
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends io.trino.tpch.TpchEntity>
TpchRecordSet<E>createTpchRecordSet(io.trino.tpch.TpchTable<E> table, double scaleFactor) static <E extends io.trino.tpch.TpchEntity>
TpchRecordSet<E>createTpchRecordSet(io.trino.tpch.TpchTable<E> table, DecimalTypeMapping decimalTypeMapping, double scaleFactor, int part, int partCount, TupleDomain<ColumnHandle> predicate) static <E extends io.trino.tpch.TpchEntity>
TpchRecordSet<E>createTpchRecordSet(io.trino.tpch.TpchTable<E> table, List<io.trino.tpch.TpchColumn<E>> columns, DecimalTypeMapping decimalTypeMapping, double scaleFactor, int part, int partCount, TupleDomain<ColumnHandle> predicate) cursor()
-
Constructor Details
-
TpchRecordSet
public TpchRecordSet(Iterable<E> rows, io.trino.tpch.TpchTable<E> table, List<io.trino.tpch.TpchColumn<E>> columns, DecimalTypeMapping decimalTypeMapping, TupleDomain<ColumnHandle> predicate)
-
-
Method Details
-
createTpchRecordSet
public static <E extends io.trino.tpch.TpchEntity> TpchRecordSet<E> createTpchRecordSet(io.trino.tpch.TpchTable<E> table, double scaleFactor) -
createTpchRecordSet
public static <E extends io.trino.tpch.TpchEntity> TpchRecordSet<E> createTpchRecordSet(io.trino.tpch.TpchTable<E> table, DecimalTypeMapping decimalTypeMapping, double scaleFactor, int part, int partCount, TupleDomain<ColumnHandle> predicate) -
createTpchRecordSet
public static <E extends io.trino.tpch.TpchEntity> TpchRecordSet<E> createTpchRecordSet(io.trino.tpch.TpchTable<E> table, List<io.trino.tpch.TpchColumn<E>> columns, DecimalTypeMapping decimalTypeMapping, double scaleFactor, int part, int partCount, TupleDomain<ColumnHandle> predicate) -
getColumnTypes
- Specified by:
getColumnTypesin interfaceRecordSet
-
cursor
-