public class BasicTable extends Object
TFile.getSupportedCompressionAlgorithms()
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicTable.Reader
BasicTable reader.
|
static class |
BasicTable.Writer
BasicTable writer.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DELETED_CG_SEPARATOR_PER_TABLE |
| Modifier and Type | Method and Description |
|---|---|
static void |
drop(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
Drop a Basic Table, all files consisting of the BasicTable will be removed.
|
static void |
dropColumnGroup(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf,
String cgName)
Deletes the data for column group specified by cgName.
|
static void |
dumpInfo(String file,
PrintStream out,
org.apache.hadoop.conf.Configuration conf) |
static void |
dumpInfo(String file,
PrintStream out,
org.apache.hadoop.conf.Configuration conf,
int indent) |
static void |
main(String[] args) |
public static final String DELETED_CG_SEPARATOR_PER_TABLE
public static void dropColumnGroup(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf,
String cgName)
throws IOException
path - path to BasicTableconf - Configuration determines file system and other parameters.cgName - name of the column group to drop.IOException - IOException could occur for various reasons. E.g.
a user does not have permissions to write to table directory.public static void drop(org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration conf)
throws IOException
path - the path to the Basic Table.conf - The configuration object.IOExceptionpublic static void dumpInfo(String file, PrintStream out, org.apache.hadoop.conf.Configuration conf) throws IOException
IOExceptionpublic static void dumpInfo(String file, PrintStream out, org.apache.hadoop.conf.Configuration conf, int indent) throws IOException
IOExceptionpublic static void main(String[] args)
Copyright © 2007-2012 The Apache Software Foundation