Package org.apache.blur.thrift.generated

Examples of org.apache.blur.thrift.generated.TableStats


  }

  @Override
  public void run() {
    try {
      TableStats tableStats = blurConnection.tableStats(this.tableName);

      if (tableStats == null) {
        throw new NullReturnedException("No table statistics were returned!");
      }

      this.database.updateTableStats(tableId, tableStats.getBytes(), tableStats.getRecordCount(),  tableStats.getRowCount());
    } catch (BlurException e) {
      log.error("Unable to get table stats for table [" + tableId + "].", e);
    } catch (DataAccessException e) {
      log.error("An error occurred while writing the server to the database.", e);
    } catch (NullReturnedException e) {
View Full Code Here

TOP

Related Classes of org.apache.blur.thrift.generated.TableStats

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.