Class TpchEntityByteSource<T extends io.trino.tpch.TpchEntity>

java.lang.Object
com.google.common.io.ByteSource
io.trino.tempto.internal.fulfillment.table.hive.tpch.TpchEntityByteSource<T>

public class TpchEntityByteSource<T extends io.trino.tpch.TpchEntity> extends com.google.common.io.ByteSource
Output stream which prints out '|' delimited TPCH data for given entity, ex:
     0|ALGERIA|0| haggle. carefully final deposits detect slyly agai|
     1|ARGENTINA|1|al foxes promise slyly according to the regular accounts. bold requests alon|
 
  • Constructor Details

    • TpchEntityByteSource

      public TpchEntityByteSource(Iterable<T> iterable)
  • Method Details

    • openStream

      public InputStream openStream()
      Specified by:
      openStream in class com.google.common.io.ByteSource