Module io.xpipe.api

Class DataTableImpl

java.lang.Object
io.xpipe.api.impl.DataSourceImpl
io.xpipe.api.impl.DataTableImpl
All Implemented Interfaces:
DataSource, DataTable, Iterable<io.xpipe.core.data.node.TupleNode>

public class DataTableImpl extends DataSourceImpl implements DataTable
  • Method Details

    • asTable

      public DataTable asTable()
      Description copied from interface: DataSource
      Attempts to cast this object to a DataTable.
      Specified by:
      asTable in interface DataSource
    • stream

      public Stream<io.xpipe.core.data.node.TupleNode> stream()
      Specified by:
      stream in interface DataTable
    • getType

      public io.xpipe.core.source.DataSourceType getType()
      Description copied from interface: DataSource
      Returns the type of this data source.
      Specified by:
      getType in interface DataSource
    • readAll

      public io.xpipe.core.data.node.ArrayNode readAll()
      Specified by:
      readAll in interface DataTable
    • read

      public io.xpipe.core.data.node.ArrayNode read(int maxRows)
      Specified by:
      read in interface DataTable
    • iterator

      public Iterator<io.xpipe.core.data.node.TupleNode> iterator()
      Specified by:
      iterator in interface Iterable<io.xpipe.core.data.node.TupleNode>