Package oracle.pgx.api.frames
Class PgxCsvFrameStorer
- java.lang.Object
-
- oracle.pgx.api.frames.PgxFrameStorer<PgxCsvFrameStorer>
-
- oracle.pgx.api.frames.PgxCsvFrameStorer
-
public class PgxCsvFrameStorer extends PgxFrameStorer<PgxCsvFrameStorer>
-
-
Constructor Summary
Constructors Constructor Description PgxCsvFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PgxCsvFrameStorer
name(java.lang.String frameName)
sets the name of the stored framePgxCsvFrameStorer
partitionExtension(java.lang.String fileExtension)
sets the fileExtension of the created CSV filesPgxCsvFrameStorer
partitions(int numPartitions)
sets the number of files to be createdPgxCsvFrameStorer
separator(char separator)
sets the separator for csv storingPgxFuture<java.lang.Void>
storeAsync(java.lang.String... uris)
trigger the async storing of the PgxFrame-
Methods inherited from class oracle.pgx.api.frames.PgxFrameStorer
overwrite, store
-
-
-
-
Constructor Detail
-
PgxCsvFrameStorer
public PgxCsvFrameStorer(PgxSession session, oracle.pgx.api.internal.Core core, PgxFrame frame)
-
-
Method Detail
-
name
public PgxCsvFrameStorer name(java.lang.String frameName)
sets the name of the stored frame- Specified by:
name
in classPgxFrameStorer<PgxCsvFrameStorer>
- Parameters:
frameName
- the name of the stored frame- Returns:
- this storer
-
separator
public PgxCsvFrameStorer separator(char separator)
sets the separator for csv storing- Parameters:
separator
- the separator- Returns:
- this storer
-
partitions
public PgxCsvFrameStorer partitions(int numPartitions)
sets the number of files to be created- Parameters:
numPartitions
- number of partitions created- Returns:
- this storer
-
partitionExtension
public PgxCsvFrameStorer partitionExtension(java.lang.String fileExtension)
sets the fileExtension of the created CSV files- Parameters:
fileExtension
- string denoting the file extension for the created files- Returns:
- this storer
-
storeAsync
public PgxFuture<java.lang.Void> storeAsync(java.lang.String... uris)
trigger the async storing of the PgxFrame- Specified by:
storeAsync
in classPgxFrameStorer<PgxCsvFrameStorer>
- Parameters:
uris
- array denoting the uris- Returns:
- the future for the result of the operation
-
-