public interface Export
| Modifier and Type | Method and Description |
|---|---|
void |
beginExport()
Start exporting data
|
void |
cleanupExport()
Delete any temp tables or temporary data locations.
|
java.util.List<java.lang.String> |
getExportPaths()
Get a list of export paths to provide to BigQuery
|
java.util.List<org.apache.hadoop.mapreduce.InputSplit> |
getSplits(org.apache.hadoop.mapreduce.JobContext context)
Get input splits that should be passed to Hadoop.
|
void |
prepare()
Create any temporary directories, tables, etc
|
void |
waitForUsableMapReduceInput()
Wait for enough data to be available for us to start a MapReduce.
|
void prepare()
throws java.io.IOException
java.io.IOExceptionvoid beginExport()
throws java.io.IOException
java.io.IOExceptionvoid waitForUsableMapReduceInput()
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionjava.util.List<org.apache.hadoop.mapreduce.InputSplit> getSplits(org.apache.hadoop.mapreduce.JobContext context)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionjava.util.List<java.lang.String> getExportPaths()
throws java.io.IOException
java.io.IOExceptionvoid cleanupExport()
throws java.io.IOException
java.io.IOExceptionCopyright © 2019. All rights reserved.