|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexServer
The IndexServer
interface provides the internal API to interact with
the indexes being served in the shard server instance.
Method Summary | |
---|---|
void |
close()
Closes the index server. |
Map<String,BlurIndex> |
getIndexes(String table)
Gets a map of the index readers for current running node. |
String |
getNodeName()
Gets the current nodes name. |
long |
getRecordCount(String table)
Gets the record count of the table. |
long |
getRowCount(String table)
Gets the row count of the table. |
List<String> |
getShardList(String table)
The shard list for a given table. |
SortedSet<String> |
getShardListCurrentServerOnly(String table)
Gets a sorted list of shards being served by this server. |
Map<String,ShardState> |
getShardState(String table)
Get the shard state. |
long |
getTableSize(String table)
Gets the current on disk table size. |
Method Detail |
---|
SortedSet<String> getShardListCurrentServerOnly(String table) throws IOException
table
- the table name
IOException
Map<String,BlurIndex> getIndexes(String table) throws IOException
table
- the table name.
IOException
List<String> getShardList(String table)
table
- the table name.
String getNodeName()
long getRecordCount(String table) throws IOException
table
- the name of the table.
IOException
long getRowCount(String table) throws IOException
table
- the name of the table.
IOException
long getTableSize(String table) throws IOException
table
- the name of the table.
IOException
void close() throws IOException
close
in interface Closeable
IOException
Map<String,ShardState> getShardState(String table)
table
- the table name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |