org.apache.blur.console.util
Class TableUtil

java.lang.Object
  extended by org.apache.blur.console.util.TableUtil

public class TableUtil
extends Object


Constructor Summary
TableUtil()
           
 
Method Summary
static void deleteTable(String table, boolean includeFiles)
           
static void disableTable(String table)
           
static void enableTable(String table)
           
static Map<String,Map<String,Map<String,Object>>> getSchema(String table)
           
static Map<String,List> getTableSummaries()
           
static List<String> getTerms(String table, String family, String column, String startWith)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableUtil

public TableUtil()
Method Detail

getTableSummaries

public static Map<String,List> getTableSummaries()
                                          throws IOException,
                                                 TException
Throws:
IOException
TException

getSchema

public static Map<String,Map<String,Map<String,Object>>> getSchema(String table)
                                                            throws IOException,
                                                                   TException
Throws:
IOException
TException

getTerms

public static List<String> getTerms(String table,
                                    String family,
                                    String column,
                                    String startWith)
                             throws IOException,
                                    TException
Throws:
IOException
TException

disableTable

public static void disableTable(String table)
                         throws TException,
                                IOException
Throws:
TException
IOException

enableTable

public static void enableTable(String table)
                        throws TException,
                               IOException
Throws:
TException
IOException

deleteTable

public static void deleteTable(String table,
                               boolean includeFiles)
                        throws TException,
                               IOException
Throws:
TException
IOException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.