org.apache.blur.manager.indexserver
Class AbstractIndexServer

java.lang.Object
  extended by org.apache.blur.manager.indexserver.AbstractIndexServer
All Implemented Interfaces:
Closeable, IndexServer
Direct Known Subclasses:
AbstractDistributedIndexServer, LocalIndexServer

public abstract class AbstractIndexServer
extends Object
implements IndexServer


Constructor Summary
AbstractIndexServer()
           
 
Method Summary
 long getRecordCount(String table)
          Gets the record count of the table.
 long getRowCount(String table)
          Gets the row count of the table.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.blur.manager.IndexServer
close, getIndexes, getNodeName, getShardList, getShardListCurrentServerOnly, getShardState, getTableSize
 

Constructor Detail

AbstractIndexServer

public AbstractIndexServer()
Method Detail

getRecordCount

public long getRecordCount(String table)
                    throws IOException
Description copied from interface: IndexServer
Gets the record count of the table.

Specified by:
getRecordCount in interface IndexServer
Parameters:
table - the name of the table.
Returns:
the record count.
Throws:
IOException

getRowCount

public long getRowCount(String table)
                 throws IOException
Description copied from interface: IndexServer
Gets the row count of the table.

Specified by:
getRowCount in interface IndexServer
Parameters:
table - the name of the table.
Returns:
Throws:
IOException


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