org.apache.blur.server
Class TableContext

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

public class TableContext
extends Object


Method Summary
static void clear()
           
static void clear(String table)
           
static TableContext create(TableDescriptor tableDescriptor)
           
 BlurConfiguration getBlurConfiguration()
           
 org.apache.hadoop.conf.Configuration getConfiguration()
           
 String getDefaultFieldName()
           
 Term getDefaultPrimeDocTerm()
           
 ScoreType getDefaultScoreType()
           
 TableDescriptor getDescriptor()
           
 FieldManager getFieldManager()
           
 IndexDeletionPolicy getIndexDeletionPolicy()
           
 ReadInterceptor getReadInterceptor()
           
 org.apache.lucene.search.similarities.Similarity getSimilarity()
           
static BlurConfiguration getSystemBlurConfiguration()
           
static org.apache.hadoop.conf.Configuration getSystemConfiguration()
           
 String getTable()
           
 org.apache.hadoop.fs.Path getTablePath()
           
 long getTimeBetweenCommits()
           
 long getTimeBetweenRefreshs()
           
 long getTimeBetweenWALSyncsNanos()
           
 org.apache.hadoop.fs.Path getWalTablePath()
           
 BlurIndex newInstanceBlurIndex(ShardContext shardContext, org.apache.lucene.store.Directory dir, SharedMergeScheduler mergeScheduler, ExecutorService searchExecutor, BlurIndexCloser indexCloser, BlurIndexWarmup indexWarmup)
           
static void setSystemBlurConfiguration(BlurConfiguration systemBlurConfiguration)
           
static void setSystemConfiguration(org.apache.hadoop.conf.Configuration systemConfiguration)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public static void clear()

clear

public static void clear(String table)

create

public static TableContext create(TableDescriptor tableDescriptor)

getIndexDeletionPolicy

public IndexDeletionPolicy getIndexDeletionPolicy()

getSimilarity

public org.apache.lucene.search.similarities.Similarity getSimilarity()

getTimeBetweenCommits

public long getTimeBetweenCommits()

getTimeBetweenRefreshs

public long getTimeBetweenRefreshs()

getFieldManager

public FieldManager getFieldManager()

getTable

public String getTable()

getConfiguration

public org.apache.hadoop.conf.Configuration getConfiguration()

getDescriptor

public TableDescriptor getDescriptor()

getTablePath

public org.apache.hadoop.fs.Path getTablePath()

getWalTablePath

public org.apache.hadoop.fs.Path getWalTablePath()

getDefaultFieldName

public String getDefaultFieldName()

getDefaultPrimeDocTerm

public Term getDefaultPrimeDocTerm()

getDefaultScoreType

public ScoreType getDefaultScoreType()

getTimeBetweenWALSyncsNanos

public long getTimeBetweenWALSyncsNanos()

getBlurConfiguration

public BlurConfiguration getBlurConfiguration()

getSystemConfiguration

public static org.apache.hadoop.conf.Configuration getSystemConfiguration()

setSystemConfiguration

public static void setSystemConfiguration(org.apache.hadoop.conf.Configuration systemConfiguration)

getSystemBlurConfiguration

public static BlurConfiguration getSystemBlurConfiguration()

setSystemBlurConfiguration

public static void setSystemBlurConfiguration(BlurConfiguration systemBlurConfiguration)

newInstanceBlurIndex

public BlurIndex newInstanceBlurIndex(ShardContext shardContext,
                                      org.apache.lucene.store.Directory dir,
                                      SharedMergeScheduler mergeScheduler,
                                      ExecutorService searchExecutor,
                                      BlurIndexCloser indexCloser,
                                      BlurIndexWarmup indexWarmup)
                               throws IOException
Throws:
IOException

getReadInterceptor

public ReadInterceptor getReadInterceptor()


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