Package org.apache.hadoop.hbase.client.tableindexed

Examples of org.apache.hadoop.hbase.client.tableindexed.IndexedTableAdmin


        this.checkIfClosed();
        if (this.getAtomicIndexTableAdmin().get() == null) {
            synchronized (this) {
                if (this.getAtomicIndexTableAdmin().get() == null) {
                    try {
                        this.getAtomicIndexTableAdmin().set(new IndexedTableAdmin(this.getConfiguration()));
                    }
                    catch (MasterNotRunningException e) {
                        throw new HBqlException(e);
                    }
                    catch (ZooKeeperConnectionException e) {
View Full Code Here


    }

    public void dropIndexForTable(final String tableName, final String indexName) throws HBqlException {
        this.validateIndexExistsForTable(indexName, tableName);
        try {
            final IndexedTableAdmin ita = this.getIndexTableAdmin();
            ita.removeIndex(tableName.getBytes(), indexName);
        }
        catch (IOException e) {
            throw new HBqlException(e);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.client.tableindexed.IndexedTableAdmin

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.