public abstract class PgxFrameReader<PgxFrameReaderType extends PgxFrameReader<PgxFrameReaderType>>
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
PgxFrameReaderType |
autodetectColumns(boolean autodetectColumn)
enables or disables the autodetection of columns from the table
Not all formats support autodetection of the columns (only DB in fact)
|
PgxFrameReaderType |
columns(ColumnDescriptor... columnDescriptors)
sets the columns to be loaded from their columnDescriptors
|
PgxFrame |
load(java.lang.String... uris)
triggers the loading of the PgxFrame
|
abstract PgxFuture<PgxFrame> |
loadAsync(java.lang.String... uris)
trigger the async loading of the PgxFrame
|
abstract PgxFrameReaderType |
name(java.lang.String frameName) |
public PgxFrameReaderType autodetectColumns(boolean autodetectColumn)
autodetectColumn - boolean denoting if the columns should be autodetectedpublic PgxFrameReaderType columns(ColumnDescriptor... columnDescriptors)
columnDescriptors - ColumnDescriptors array containing the to be loaded columnspublic PgxFrame load(java.lang.String... uris) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
uris - array denoting the urisjava.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionpublic abstract PgxFuture<PgxFrame> loadAsync(java.lang.String... uris)
uris - array denoting the urispublic abstract PgxFrameReaderType name(java.lang.String frameName)