org.apache.blur.manager.indexserver
Class AbstractDistributedIndexServer
java.lang.Object
org.apache.blur.manager.indexserver.AbstractIndexServer
org.apache.blur.manager.indexserver.AbstractDistributedIndexServer
- All Implemented Interfaces:
- Closeable, IndexServer
- Direct Known Subclasses:
- DistributedIndexServer
public abstract class AbstractDistributedIndexServer
- extends AbstractIndexServer
AbstractDistributedIndexServer
public AbstractDistributedIndexServer(ClusterStatus clusterStatus,
org.apache.hadoop.conf.Configuration configuration,
String nodeName,
String cluster)
getNodeName
public final String getNodeName()
- Description copied from interface:
IndexServer
- Gets the current nodes name.
- Returns:
getTableSize
public final long getTableSize(String table)
throws IOException
- Description copied from interface:
IndexServer
- Gets the current on disk table size.
- Parameters:
table
- the name of the table.
- Returns:
- the number of bytes on disk.
- Throws:
IOException
getShardList
public final List<String> getShardList(String table)
- Description copied from interface:
IndexServer
- The shard list for a given table.
- Parameters:
table
- the table name.
- Returns:
- the list of shards.
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.