org.apache.blur.server
Class ShardContext
java.lang.Object
org.apache.blur.server.ShardContext
public class ShardContext
- extends Object
getTableContext
public TableContext getTableContext()
setTableContext
public void setTableContext(TableContext tableContext)
getDirectory
public org.apache.lucene.store.Directory getDirectory()
setDirectory
public void setDirectory(org.apache.lucene.store.Directory directory)
getHdfsDirPath
public org.apache.hadoop.fs.Path getHdfsDirPath()
setHdfsDirPath
public void setHdfsDirPath(org.apache.hadoop.fs.Path hdfsDirPath)
getShard
public String getShard()
setShard
public void setShard(String shard)
getWalShardPath
public org.apache.hadoop.fs.Path getWalShardPath()
setWalShardPath
public void setWalShardPath(org.apache.hadoop.fs.Path walShardPath)
create
public static ShardContext create(TableContext tableContext,
String shard)
throws IOException
- Throws:
IOException
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.