org.apache.blur.server
Class ShardContext

java.lang.Object
  extended by org.apache.blur.server.ShardContext

public class ShardContext
extends Object


Method Summary
static ShardContext create(TableContext tableContext, String shard)
           
 org.apache.lucene.store.Directory getDirectory()
           
 org.apache.hadoop.fs.Path getHdfsDirPath()
           
 String getShard()
           
 TableContext getTableContext()
           
 org.apache.hadoop.fs.Path getWalShardPath()
           
 void setDirectory(org.apache.lucene.store.Directory directory)
           
 void setHdfsDirPath(org.apache.hadoop.fs.Path hdfsDirPath)
           
 void setShard(String shard)
           
 void setTableContext(TableContext tableContext)
           
 void setWalShardPath(org.apache.hadoop.fs.Path walShardPath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.