|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splout.db.hadoop.TablespaceSpec
public class TablespaceSpec
Immutable bean that defines a Tablespace whose view has to be generated. It may contain one or more Table
beans.
It can be obtained by TablespaceBuilder
.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getInitStatements()
|
int |
getnPartitions()
|
com.google.common.collect.ImmutableList<Table> |
getPartitionedTables()
|
com.google.common.collect.ImmutableList<Table> |
getReplicateAllTables()
|
static TablespaceSpec |
of(org.apache.hadoop.conf.Configuration conf,
java.lang.String[] partitionFields,
org.apache.hadoop.fs.Path input,
org.apache.hadoop.mapreduce.InputFormat<com.datasalt.pangool.io.ITuple,org.apache.hadoop.io.NullWritable> inputFormat,
int nPartitions)
Schema-less quick tablespace builder that samples the first record of the first InputSplit in order to obtain the Table Schema. |
static TablespaceSpec |
of(com.datasalt.pangool.io.Schema schema,
java.lang.String[] partitionFields,
org.apache.hadoop.fs.Path input,
org.apache.hadoop.mapreduce.InputFormat<com.datasalt.pangool.io.ITuple,org.apache.hadoop.io.NullWritable> inputFormat,
int nPartitions)
|
static TablespaceSpec |
of(com.datasalt.pangool.io.Schema schema,
java.lang.String partitionField,
org.apache.hadoop.fs.Path input,
org.apache.hadoop.mapreduce.InputFormat<com.datasalt.pangool.io.ITuple,org.apache.hadoop.io.NullWritable> inputFormat,
int nPartitions)
(Common case that can be built without using the builder) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TablespaceSpec of(com.datasalt.pangool.io.Schema schema, java.lang.String partitionField, org.apache.hadoop.fs.Path input, org.apache.hadoop.mapreduce.InputFormat<com.datasalt.pangool.io.ITuple,org.apache.hadoop.io.NullWritable> inputFormat, int nPartitions)
public static TablespaceSpec of(org.apache.hadoop.conf.Configuration conf, java.lang.String[] partitionFields, org.apache.hadoop.fs.Path input, org.apache.hadoop.mapreduce.InputFormat<com.datasalt.pangool.io.ITuple,org.apache.hadoop.io.NullWritable> inputFormat, int nPartitions) throws java.io.IOException, java.lang.InterruptedException
java.io.IOException
java.lang.InterruptedException
public static TablespaceSpec of(com.datasalt.pangool.io.Schema schema, java.lang.String[] partitionFields, org.apache.hadoop.fs.Path input, org.apache.hadoop.mapreduce.InputFormat<com.datasalt.pangool.io.ITuple,org.apache.hadoop.io.NullWritable> inputFormat, int nPartitions)
public com.google.common.collect.ImmutableList<Table> getPartitionedTables()
public com.google.common.collect.ImmutableList<Table> getReplicateAllTables()
public int getnPartitions()
public java.util.List<java.lang.String> getInitStatements()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |