Package | Description |
---|---|
org.tribuo.data.columnar |
Provides classes for processing columnar data and generating
Example s. |
org.tribuo.data.columnar.extractors |
Provides implementations of
FieldExtractor . |
org.tribuo.data.csv |
Provides classes which can load columnar data (using a
RowProcessor )
from a CSV (or other character delimited format) file. |
org.tribuo.data.sql |
Provides classes which can load columnar data (using a
RowProcessor )
from a SQL source. |
org.tribuo.json |
Provides interop with JSON formatted data, along with tools for interacting with JSON provenance objects.
|
Modifier and Type | Field and Description |
---|---|
protected Optional<ColumnarIterator.Row> |
ColumnarIterator.currentRow |
Modifier and Type | Method and Description |
---|---|
ColumnarIterator.Row |
ColumnarIterator.next() |
Modifier and Type | Method and Description |
---|---|
protected abstract Optional<ColumnarIterator.Row> |
ColumnarIterator.getRow()
Returns the next row of data based on internal state stored by the implementor, or
Optional.empty()
if there is no more data. |
Modifier and Type | Method and Description |
---|---|
Optional<T> |
FieldExtractor.extract(ColumnarIterator.Row row)
Returns Optional which is filled if extraction succeeded.
|
Optional<Example<T>> |
RowProcessor.generateExample(ColumnarIterator.Row row,
boolean outputRequired)
Generate an
Example from the supplied row. |
Map<String,Object> |
RowProcessor.generateMetadata(ColumnarIterator.Row row)
Generates the example metadata from the supplied row and index.
|
Modifier and Type | Method and Description |
---|---|
void |
ColumnarIterator.forEachRemaining(Consumer<? super ColumnarIterator.Row> action) |
boolean |
ColumnarIterator.tryAdvance(Consumer<? super ColumnarIterator.Row> action) |
Modifier and Type | Method and Description |
---|---|
Optional<T> |
SimpleFieldExtractor.extract(ColumnarIterator.Row row) |
Optional<Long> |
IndexExtractor.extract(ColumnarIterator.Row row) |
Modifier and Type | Method and Description |
---|---|
protected Optional<ColumnarIterator.Row> |
CSVIterator.getRow() |
Modifier and Type | Method and Description |
---|---|
protected Optional<ColumnarIterator.Row> |
ResultSetIterator.getRow() |
Modifier and Type | Method and Description |
---|---|
protected Optional<ColumnarIterator.Row> |
JsonFileIterator.getRow() |
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.