A B C D E F G H I J L M N O P Q R S T U V W

A

ARRAY - Static variable in class org.sourceforge.beanindex.Constants
 
add(Index, Object) - Method in class org.sourceforge.beanindex.BeanIndex
 
add(Index, Object) - Method in interface org.sourceforge.beanindex.provider.DataProviderCallBack
This method adds the beans to the index and stores the object into beanrepository
add(int, String, Field, int, String) - Method in class org.sourceforge.beanindex.store.writer.DictionaryWriter
 
add(int, String, Field, int, String) - Method in class org.sourceforge.beanindex.store.writer.RAMDictionaryWriter
Adds the keywords to dictionary and the bean id to the applicable inverted index nodes.
add(int, String, Field, int, String) - Method in class org.sourceforge.beanindex.store.writer.VMDictionaryWriter
Adds the keywords to dictionary and the bean id to the applicable inverted index nodes.
addIndex(Index) - Method in class org.sourceforge.beanindex.search.Query
 
addItem(SearchTerm) - Method in class org.sourceforge.beanindex.search.Query
 
addSpace(String) - Static method in class org.sourceforge.beanindex.parse.Parser
adds space between operators
allocate() - Method in class org.sourceforge.beanindex.util.VirtualMemory
 

B

BASE_DIR - Static variable in class org.sourceforge.beanindex.BeanIndex
 
BASE_DIR - Static variable in class org.sourceforge.beanindex.Constants
Base directory.
BCKP_DIR - Static variable in class org.sourceforge.beanindex.BeanIndex
 
BCKP_DIR - Static variable in class org.sourceforge.beanindex.Constants
 
BEANINDEX_EXTERNALIZER - Static variable in interface org.sourceforge.beanindex.externalize.ObjectExternalizer
 
BOOLEAN - Static variable in class org.sourceforge.beanindex.Constants
 
BOOLEAN_WRPR - Static variable in class org.sourceforge.beanindex.Constants
 
BYTE - Static variable in class org.sourceforge.beanindex.Constants
 
BYTE_WRPR - Static variable in class org.sourceforge.beanindex.Constants
 
BeanIndex - class org.sourceforge.beanindex.BeanIndex.
This is the main class.
BeanIndex(String) - Constructor for class org.sourceforge.beanindex.BeanIndex
 
BeanIndexBuilder - class org.sourceforge.beanindex.BeanIndexBuilder.
This class writes the index data.
BeanIndexBuilder(BeanIndexMetaInfo) - Constructor for class org.sourceforge.beanindex.BeanIndexBuilder
 
BeanIndexBuilder(BeanIndexMetaInfo, boolean) - Constructor for class org.sourceforge.beanindex.BeanIndexBuilder
 
BeanIndexException - exception org.sourceforge.beanindex.BeanIndexException.
 
BeanIndexException() - Constructor for class org.sourceforge.beanindex.BeanIndexException
 
BeanIndexException(String) - Constructor for class org.sourceforge.beanindex.BeanIndexException
 
BeanIndexException(Throwable) - Constructor for class org.sourceforge.beanindex.BeanIndexException
 
BeanIndexException(String, Throwable) - Constructor for class org.sourceforge.beanindex.BeanIndexException
 
BeanIndexMetaInfo - class org.sourceforge.beanindex.BeanIndexMetaInfo.
Provides the meta info for the indexes .
BeanIndexMetaInfo(Class, Field[], Index[]) - Constructor for class org.sourceforge.beanindex.BeanIndexMetaInfo
 
BeanIndexObjectExternalizer - class org.sourceforge.beanindex.externalize.BeanIndexObjectExternalizer.
 
BeanIndexObjectExternalizer(Class) - Constructor for class org.sourceforge.beanindex.externalize.BeanIndexObjectExternalizer
 
BeanIndexSearcher - class org.sourceforge.beanindex.search.BeanIndexSearcher.
 
BeanIndexSearcher(String, String, SearcherConfigInfo) - Constructor for class org.sourceforge.beanindex.search.BeanIndexSearcher
 
BeanRepository - class org.sourceforge.beanindex.store.BeanRepository.
This class stores the bean instances and their locations in two files for fast retrieval repository.inf file contains the beans and indexes detials
BeanRepository(String, boolean, int) - Constructor for class org.sourceforge.beanindex.store.BeanRepository
 
BeanRepositoryWriter - class org.sourceforge.beanindex.store.writer.BeanRepositoryWriter.
 
BeanRepositoryWriter(String, BeanIndexMetaInfo) - Constructor for class org.sourceforge.beanindex.store.writer.BeanRepositoryWriter
 
ByteBuffer - class org.sourceforge.beanindex.util.ByteBuffer.
This is an alternative for using ArrayList with Integer objects in it.
ByteBuffer() - Constructor for class org.sourceforge.beanindex.util.ByteBuffer
 
ByteBuffer(int) - Constructor for class org.sourceforge.beanindex.util.ByteBuffer
 

C

CHAR - Static variable in class org.sourceforge.beanindex.Constants
 
CHAR_WRPR - Static variable in class org.sourceforge.beanindex.Constants
 
CONCAT_STR - Static variable in class org.sourceforge.beanindex.Constants
 
Constants - class org.sourceforge.beanindex.Constants.
Constants used throughout the BeanIndex code
Constants() - Constructor for class org.sourceforge.beanindex.Constants
 
cacheSize - Variable in class org.sourceforge.beanindex.cache.LRUCache
 
cancelSchedule() - Method in class org.sourceforge.beanindex.BeanIndex
 
cleanBaseDir(String) - Static method in class org.sourceforge.beanindex.util.FileUtil
 
clear() - Method in class org.sourceforge.beanindex.util.ByteBuffer
Method to clear the buffer.
clear() - Method in class org.sourceforge.beanindex.util.IntBuffer
Method to clear the buffer.
close() - Method in class org.sourceforge.beanindex.BeanIndexBuilder
This method completes the Index Building process
close() - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
close() - Method in class org.sourceforge.beanindex.store.Dictionary
 
close() - Method in class org.sourceforge.beanindex.store.IndexNodeRepository
 
close() - Method in class org.sourceforge.beanindex.store.writer.BeanRepositoryWriter
 
close() - Method in class org.sourceforge.beanindex.store.writer.DictionaryWriter
 
close() - Method in class org.sourceforge.beanindex.store.writer.IndexNodeRepositoryWriter
 
close() - Method in class org.sourceforge.beanindex.store.writer.RAMDictionaryWriter
closes the data files.Before closing writes the terms data into dictionary.dat file and writes all the inverted index file data into c corresponding files ending with ***invx_x.dat and ***invx.lcx
close() - Method in class org.sourceforge.beanindex.store.writer.VMDictionaryWriter
closes the data files.Before closing writes the terms data into dictionary.dat file and writes all the inverted index file data into c corresponding files ending with ***invx_x.dat and ***invx.lcx
closeFiles() - Method in class org.sourceforge.beanindex.store.BeanRepository
 
convert(byte[]) - Method in class org.sourceforge.beanindex.util.IntegerCompressor
 
convertIntToVint(int[]) - Method in class org.sourceforge.beanindex.util.IntegerCompressor
 
copyDir(String, String) - Static method in class org.sourceforge.beanindex.util.FileUtil
 
copyFile(File, File) - Static method in class org.sourceforge.beanindex.util.FileUtil
 
createDir(String) - Static method in class org.sourceforge.beanindex.util.FileUtil
 
createIndex(String) - Method in class org.sourceforge.beanindex.BeanIndex
 
createSearchRequest() - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
creates a Query.If the deployment is in progress then the method waits until deployment is comlete

D

DATE - Static variable in class org.sourceforge.beanindex.Constants
 
DEFAULT_DATA_CACHE_MAXSIZE - Static variable in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
DEFAULT_INDEX_CACHE_MAXSIZE - Static variable in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
DEFAULT_THREADPOOL_MAXSIZE - Static variable in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
DEPLOY_DIR - Static variable in class org.sourceforge.beanindex.BeanIndex
 
DEPLOY_DIR - Static variable in class org.sourceforge.beanindex.Constants
 
DICT_DAT_FILE - Static variable in class org.sourceforge.beanindex.Constants
 
DICT_LCX_FILE - Static variable in class org.sourceforge.beanindex.Constants
 
DICT_SRX_FILE - Static variable in class org.sourceforge.beanindex.Constants
 
DOUBLE - Static variable in class org.sourceforge.beanindex.Constants
 
DOUBLE_WRPR - Static variable in class org.sourceforge.beanindex.Constants
 
DataProvider - interface org.sourceforge.beanindex.provider.DataProvider.
 
DataProviderCallBack - interface org.sourceforge.beanindex.provider.DataProviderCallBack.
 
DeployEvent - class org.sourceforge.beanindex.notify.DeployEvent.
 
DeployEvent() - Constructor for class org.sourceforge.beanindex.notify.DeployEvent
 
DeployEventListener - interface org.sourceforge.beanindex.notify.DeployEventListener.
 
Dictionary - class org.sourceforge.beanindex.store.Dictionary.
 
Dictionary(String, boolean, int) - Constructor for class org.sourceforge.beanindex.store.Dictionary
 
DictionaryWriter - class org.sourceforge.beanindex.store.writer.DictionaryWriter.
 
DictionaryWriter() - Constructor for class org.sourceforge.beanindex.store.writer.DictionaryWriter
 
delete() - Method in class org.sourceforge.beanindex.util.VirtualMemory
 
deleteDir(String) - Static method in class org.sourceforge.beanindex.util.FileUtil
 
deploy() - Method in class org.sourceforge.beanindex.BeanIndex
Call this method to deploy a new index dataset.
deployed(DeployEvent) - Method in interface org.sourceforge.beanindex.notify.DeployEventListener
 
disable() - Method in class org.sourceforge.beanindex.util.ThreadPool
disable the thread pool.

E

enable() - Method in class org.sourceforge.beanindex.util.ThreadPool
 
execPostFixEngine(Token[]) - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
execute(Token[]) - Method in class org.sourceforge.beanindex.postfix.PostFixExecutionEngine
* This method takes an Expression parsed into tokens and returns the final result.
extendLRUBuffer(int) - Method in class org.sourceforge.beanindex.cache.LRUCache
 

F

FLOAT - Static variable in class org.sourceforge.beanindex.Constants
 
FLOAT_WRPR - Static variable in class org.sourceforge.beanindex.Constants
 
FileIntBuffer - class org.sourceforge.beanindex.util.FileIntBuffer.
This is an alternative for using ArrayList with Integer objects in it.
FileIntBuffer(VirtualMemory) - Constructor for class org.sourceforge.beanindex.util.FileIntBuffer
 
FileUtil - class org.sourceforge.beanindex.util.FileUtil.
This is a File Utility class
FileUtil() - Constructor for class org.sourceforge.beanindex.util.FileUtil
 
findItemIndex(String[], String) - Method in class org.sourceforge.beanindex.store.writer.DictionaryWriter
Method returns the index position of a given string in a string array.

G

get(int) - Method in class org.sourceforge.beanindex.cache.LRUCache
gets the bean out of cache if exists.
get(int) - Method in class org.sourceforge.beanindex.cache.RAMLRUCache
gets the bean out of cache if exists.
get(int) - Method in class org.sourceforge.beanindex.cache.SoftReferenceLRUCache
gets the bean out of cache if exists.
get(int[], long) - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
get(int[]) - Method in class org.sourceforge.beanindex.store.BeanRepository
 
get(int) - Method in class org.sourceforge.beanindex.store.BeanRepository
 
get(int) - Method in class org.sourceforge.beanindex.util.ByteBuffer
 
get(int) - Method in class org.sourceforge.beanindex.util.FileIntBuffer
reads the entry at the index
get(int) - Method in class org.sourceforge.beanindex.util.IntBuffer
 
getAllIndexViews() - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
getAllIndexedFields() - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
getArrayDimension(Field) - Static method in class org.sourceforge.beanindex.Constants
 
getArrayDimension(Class) - Static method in class org.sourceforge.beanindex.Constants
 
getArrayDimension(Object) - Static method in class org.sourceforge.beanindex.Constants
 
getArrayType(Field) - Static method in class org.sourceforge.beanindex.Constants
 
getArrayType(Class) - Static method in class org.sourceforge.beanindex.Constants
 
getBeanClass() - Method in class org.sourceforge.beanindex.BeanIndexMetaInfo
The Class of the bean being indexed
getBeanIndexBuilder(BeanIndexMetaInfo, boolean) - Method in class org.sourceforge.beanindex.BeanIndex
 
getBeanIndexCustomFieldType(Class) - Static method in class org.sourceforge.beanindex.Constants
 
getBeanIndexMetaInfo() - Method in interface org.sourceforge.beanindex.provider.DataProvider
Returns the MetaInfo of the Data Transmission scheduled.
getBeanIndexSearcher(SearcherConfigInfo) - Method in class org.sourceforge.beanindex.BeanIndex
 
getBeanIndexSearcher(String, SearcherConfigInfo) - Method in class org.sourceforge.beanindex.BeanIndex
pass a default logical operator to be used in search term evaluations Either OR or AND.
getBeans(Index) - Method in class org.sourceforge.beanindex.search.Hits
Returns all the beans in this result
getBeans(Index, int, int) - Method in class org.sourceforge.beanindex.search.Hits
returns the Beans
getBytes(int) - Method in class org.sourceforge.beanindex.util.IntegerCompressor
 
getData() - Method in class org.sourceforge.beanindex.util.ByteBuffer
 
getData() - Method in class org.sourceforge.beanindex.util.FileIntBuffer
returns the data
getData() - Method in class org.sourceforge.beanindex.util.IntBuffer
 
getData() - Method in class org.sourceforge.beanindex.util.Token
 
getDataCacheMaxSize() - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
getDictionaryCacheMaxSize() - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
getExpItem() - Method in class org.sourceforge.beanindex.util.Token
 
getFieldIndex() - Method in class org.sourceforge.beanindex.search.IndexField
 
getFieldKey() - Method in class org.sourceforge.beanindex.search.IndexField
 
getFieldType(Class) - Static method in class org.sourceforge.beanindex.Constants
 
getFieldTypeClass(byte) - Static method in class org.sourceforge.beanindex.Constants
 
getFile() - Method in class org.sourceforge.beanindex.Index
 
getHitBeanIds(Index) - Method in class org.sourceforge.beanindex.search.Hits
Returns the Bean ids Bean ids are assigned and returned in FIFO order.
getHitBeanIds(Index, int, int) - Method in class org.sourceforge.beanindex.search.Hits
returns the Bean ids ids are in FIFO order
getHitCount(Index) - Method in class org.sourceforge.beanindex.search.Hits
returns the size of the search result for the index
getId() - Method in class org.sourceforge.beanindex.externalize.BeanIndexObjectExternalizer
 
getId() - Method in class org.sourceforge.beanindex.externalize.JavaObjectExternalizer
 
getId() - Method in interface org.sourceforge.beanindex.externalize.ObjectExternalizer
 
getIndexCacheMaxSize() - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
getIndexName() - Method in class org.sourceforge.beanindex.search.IndexResult
 
getIndexNames() - Method in class org.sourceforge.beanindex.BeanIndexMetaInfo
Name of the indexes tp be built
getIndexNames() - Method in class org.sourceforge.beanindex.store.BeanRepository
 
getIndexed() - Method in class org.sourceforge.beanindex.BeanIndexMetaInfo
The fields of the class that has to be indexed
getIndexedFields() - Method in class org.sourceforge.beanindex.store.BeanRepository
 
getIndexedFieldsGetMethods() - Method in class org.sourceforge.beanindex.BeanIndexMetaInfo
 
getIndexes() - Method in class org.sourceforge.beanindex.search.Query
 
getInitialDelay() - Method in class org.sourceforge.beanindex.util.Schedule
 
getInstance(String, String[]) - Static method in class org.sourceforge.beanindex.store.writer.DictionaryWriter
 
getInstance(String, String[], VirtualMemory) - Static method in class org.sourceforge.beanindex.store.writer.DictionaryWriter
 
getInt(byte[]) - Method in class org.sourceforge.beanindex.util.IntegerCompressor
 
getItems() - Method in class org.sourceforge.beanindex.search.Query
 
getLRUCanditatePosition() - Method in class org.sourceforge.beanindex.cache.LRUCache
finds the LRU candidate position by traversing the LRUBuffer Could not think of any other better way at this point.It is a leaner search.
getMessage() - Method in class org.sourceforge.beanindex.notify.DeployEvent
 
getName() - Method in class org.sourceforge.beanindex.Index
 
getName() - Method in class org.sourceforge.beanindex.search.IndexField
 
getName() - Method in class org.sourceforge.beanindex.store.IndexNodeRepository
 
getPageSize() - Method in class org.sourceforge.beanindex.util.VirtualMemory
Returns the size of the Virtual Memory page
getPeriod() - Method in class org.sourceforge.beanindex.util.Schedule
 
getPrecedence() - Method in class org.sourceforge.beanindex.util.Token
 
getPrimitiveFieldType(int) - Static method in class org.sourceforge.beanindex.Constants
 
getPrimitiveFieldTypeStr(String) - Static method in class org.sourceforge.beanindex.Constants
 
getPrimitiveWrapperFieldType(int) - Static method in class org.sourceforge.beanindex.Constants
 
getRegisteredDataProvider() - Method in class org.sourceforge.beanindex.BeanIndex
 
getResult() - Method in class org.sourceforge.beanindex.search.IndexResult
 
getSchedule() - Method in interface org.sourceforge.beanindex.provider.DataProvider
This method returns the Schedule info for this DataProvider.
getSearchField() - Method in class org.sourceforge.beanindex.search.SearchTerm
 
getSearchPhrase() - Method in class org.sourceforge.beanindex.search.Query
 
getStoredFieldNames() - Method in class org.sourceforge.beanindex.externalize.BeanIndexObjectExternalizer
 
getTermId() - Method in class org.sourceforge.beanindex.util.Token
 
getThreadPoolMaxSize() - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
getTimeStamp() - Method in class org.sourceforge.beanindex.cache.LRUCache
A custom timestamp to be used for LRUbuffer.
getTimeStamp() - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
getTotalHitCount() - Method in class org.sourceforge.beanindex.search.Hits
Returns the size of the search result
getType() - Method in class org.sourceforge.beanindex.search.IndexField
 

H

Hits - class org.sourceforge.beanindex.search.Hits.
This Hits is not Serializable and It is deliberately done so.
hotDeploy(SearcherConfigInfo) - Method in class org.sourceforge.beanindex.BeanIndex
Call this method to deploy new index dataset with a new Searcher Configuration while BeanIndexSearcher is serving the clients
hotDeploy() - Method in class org.sourceforge.beanindex.BeanIndex
This method should be called by the client to hotdeploy new index dataset.

I

INITIAL_CAPACITY - Static variable in class org.sourceforge.beanindex.util.ByteBuffer
 
INITIAL_CAPACITY - Static variable in class org.sourceforge.beanindex.util.IntBuffer
 
INT - Static variable in class org.sourceforge.beanindex.Constants
 
INT_WRPR - Static variable in class org.sourceforge.beanindex.Constants
 
INVX_DAT_EXTN - Static variable in class org.sourceforge.beanindex.Constants
 
INVX_LCX_EXTN - Static variable in class org.sourceforge.beanindex.Constants
 
Index - class org.sourceforge.beanindex.Index.
 
IndexField - class org.sourceforge.beanindex.search.IndexField.
 
IndexNodeRepository - class org.sourceforge.beanindex.store.IndexNodeRepository.
 
IndexNodeRepository(String, String, boolean, int) - Constructor for class org.sourceforge.beanindex.store.IndexNodeRepository
 
IndexNodeRepositoryWriter - class org.sourceforge.beanindex.store.writer.IndexNodeRepositoryWriter.
 
IndexNodeRepositoryWriter(String, String) - Constructor for class org.sourceforge.beanindex.store.writer.IndexNodeRepositoryWriter
 
IndexResult - class org.sourceforge.beanindex.search.IndexResult.
 
IndexResult(String, int[]) - Constructor for class org.sourceforge.beanindex.search.IndexResult
 
IntBuffer - class org.sourceforge.beanindex.util.IntBuffer.
This is an alternative for using ArrayList with Integer objects in it.
IntBuffer() - Constructor for class org.sourceforge.beanindex.util.IntBuffer
 
IntBuffer(int) - Constructor for class org.sourceforge.beanindex.util.IntBuffer
 
IntegerCompressor - class org.sourceforge.beanindex.util.IntegerCompressor.
This class converts int to zipped byte array from zipped byte array converts them back to int
IntegerCompressor() - Constructor for class org.sourceforge.beanindex.util.IntegerCompressor
 
init(String, String, SearcherConfigInfo) - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
This method is called after doing a redeploy to bring the index searcher to service
initiateDataTransmission(DataProviderCallBack) - Method in interface org.sourceforge.beanindex.provider.DataProvider
This method will be called by BeanIndex at the scheduled time.
insert(int, byte) - Method in class org.sourceforge.beanindex.util.ByteBuffer
writes the int at the end of the buffer
insert(int, int) - Method in class org.sourceforge.beanindex.util.IntBuffer
writes the int at the end of the buffer
instance(String, String) - Static method in class org.sourceforge.beanindex.Index
 
instance(String, IndexNodeRepository, String) - Static method in class org.sourceforge.beanindex.Index
 
isArrayFieldType(Field) - Static method in class org.sourceforge.beanindex.Constants
 
isArrayFieldType(Class) - Static method in class org.sourceforge.beanindex.Constants
 
isBeanIndexExternilizerUsable(Class) - Static method in class org.sourceforge.beanindex.Constants
 
isDataCacheEnabled() - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
isDeploymentInProgress() - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
isDictionaryCacheEnabled() - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
isDirEmpty(String) - Static method in class org.sourceforge.beanindex.util.FileUtil
 
isFixedRate() - Method in class org.sourceforge.beanindex.util.Schedule
 
isIndexBufferDirectRead() - Method in class org.sourceforge.beanindex.search.Query
checks if this request is a direct buffer read request
isIndexCacheEnabled() - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
isIndexable(Field) - Static method in class org.sourceforge.beanindex.Constants
 
isLogicalOP(String) - Static method in class org.sourceforge.beanindex.Constants
This method checks if the phrase is one of the logical operator
isReserved(String) - Static method in class org.sourceforge.beanindex.Constants
This method checks if the phrase is one of the reserved words .
isSuccess() - Method in class org.sourceforge.beanindex.notify.DeployEvent
 
isThreadPoolEnabled() - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 

J

JAVA_EXTERNALIZER - Static variable in interface org.sourceforge.beanindex.externalize.ObjectExternalizer
 
JavaObjectExternalizer - class org.sourceforge.beanindex.externalize.JavaObjectExternalizer.
 
JavaObjectExternalizer() - Constructor for class org.sourceforge.beanindex.externalize.JavaObjectExternalizer
 

L

LGL_AND - Static variable in class org.sourceforge.beanindex.Constants
 
LGL_LBRACKET - Static variable in class org.sourceforge.beanindex.Constants
 
LGL_NOT - Static variable in class org.sourceforge.beanindex.Constants
 
LGL_OR - Static variable in class org.sourceforge.beanindex.Constants
 
LGL_RBRACKET - Static variable in class org.sourceforge.beanindex.Constants
 
LONG - Static variable in class org.sourceforge.beanindex.Constants
 
LONG_WRPR - Static variable in class org.sourceforge.beanindex.Constants
 
LRUBuffer - Variable in class org.sourceforge.beanindex.cache.LRUCache
 
LRUCache - class org.sourceforge.beanindex.cache.LRUCache.
A simple LRU Cache abstract class for implementation.
LRUCache() - Constructor for class org.sourceforge.beanindex.cache.LRUCache
 
LRU_BUFFER_INIT_CAPACITY - Static variable in class org.sourceforge.beanindex.cache.LRUCache
 
lastRemoved - Variable in class org.sourceforge.beanindex.cache.LRUCache
 
length() - Method in class org.sourceforge.beanindex.util.ByteBuffer
 
length() - Method in class org.sourceforge.beanindex.util.FileIntBuffer
 
length() - Method in class org.sourceforge.beanindex.util.IntBuffer
 

M

MultiThreadSearchImpl - class org.sourceforge.beanindex.search.MultiThreadSearchImpl.
 
MultiThreadSearchImpl(BeanIndexSearcher, int) - Constructor for class org.sourceforge.beanindex.search.MultiThreadSearchImpl
 
map - Variable in class org.sourceforge.beanindex.cache.LRUCache
 

N

notifyEnd() - Method in class org.sourceforge.beanindex.BeanIndex
 
notifyEnd() - Method in interface org.sourceforge.beanindex.provider.DataProviderCallBack
This method should be called by the DataProvider at the end of DataTransmission
notifyStart(boolean) - Method in class org.sourceforge.beanindex.BeanIndex
 
notifyStart(boolean) - Method in interface org.sourceforge.beanindex.provider.DataProviderCallBack
This method should be called by the DataProvider before starting the Transmission after receiving the initiateDataTransmission signal

O

OBJECT - Static variable in class org.sourceforge.beanindex.Constants
 
OBJECT_END - Static variable in class org.sourceforge.beanindex.Constants
 
OPEN_READ - Static variable in class org.sourceforge.beanindex.Constants
 
OPEN_READWRITE - Static variable in class org.sourceforge.beanindex.Constants
 
ObjectExternalizer - interface org.sourceforge.beanindex.externalize.ObjectExternalizer.
 
org.sourceforge.beanindex - package org.sourceforge.beanindex
 
org.sourceforge.beanindex.cache - package org.sourceforge.beanindex.cache
 
org.sourceforge.beanindex.externalize - package org.sourceforge.beanindex.externalize
 
org.sourceforge.beanindex.notify - package org.sourceforge.beanindex.notify
 
org.sourceforge.beanindex.parse - package org.sourceforge.beanindex.parse
 
org.sourceforge.beanindex.postfix - package org.sourceforge.beanindex.postfix
 
org.sourceforge.beanindex.provider - package org.sourceforge.beanindex.provider
 
org.sourceforge.beanindex.search - package org.sourceforge.beanindex.search
 
org.sourceforge.beanindex.store - package org.sourceforge.beanindex.store
 
org.sourceforge.beanindex.store.writer - package org.sourceforge.beanindex.store.writer
 
org.sourceforge.beanindex.util - package org.sourceforge.beanindex.util
 

P

PREC_AND - Static variable in class org.sourceforge.beanindex.Constants
 
PREC_DATA - Static variable in class org.sourceforge.beanindex.Constants
 
PREC_LBRKT - Static variable in class org.sourceforge.beanindex.Constants
 
PREC_NOT - Static variable in class org.sourceforge.beanindex.Constants
 
PREC_OR - Static variable in class org.sourceforge.beanindex.Constants
 
PREC_RBRKT - Static variable in class org.sourceforge.beanindex.Constants
 
Parser - class org.sourceforge.beanindex.parse.Parser.
This is the parser.
Parser(String) - Constructor for class org.sourceforge.beanindex.parse.Parser
 
PostFixExecutionEngine - class org.sourceforge.beanindex.postfix.PostFixExecutionEngine.
 
PostFixExecutionEngine() - Constructor for class org.sourceforge.beanindex.postfix.PostFixExecutionEngine
 
parse(String) - Method in class org.sourceforge.beanindex.parse.Parser
Method to parse the phrase into tokens
parse(String) - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
prepareHotDeploy() - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
This method closes the files opened for searching to enable the redeploy
process(Query) - Method in class org.sourceforge.beanindex.search.MultiThreadSearchImpl
 
process(Query) - Method in interface org.sourceforge.beanindex.search.Search
 
process(Query) - Method in class org.sourceforge.beanindex.search.SingleThreadSearchImpl
 
put(int, Object) - Method in class org.sourceforge.beanindex.cache.LRUCache
put the key, value pair in to cache.
put(int, Object) - Method in class org.sourceforge.beanindex.cache.RAMLRUCache
put the key, value pair in to cache.
put(int, Object) - Method in class org.sourceforge.beanindex.cache.SoftReferenceLRUCache
put the key, value pair in to cache.

Q

Query - class org.sourceforge.beanindex.search.Query.
 

R

RAMDictionaryWriter - class org.sourceforge.beanindex.store.writer.RAMDictionaryWriter.
 
RAMDictionaryWriter(String, String[]) - Constructor for class org.sourceforge.beanindex.store.writer.RAMDictionaryWriter
 
RAMLRUCache - class org.sourceforge.beanindex.cache.RAMLRUCache.
A simple LRU Cache implementation.
RAMLRUCache() - Constructor for class org.sourceforge.beanindex.cache.RAMLRUCache
 
RAMLRUCache(int, int) - Constructor for class org.sourceforge.beanindex.cache.RAMLRUCache
it allocates a LRUBuffer to support all the beans in the repository.
REPO_BNF_FILE - Static variable in class org.sourceforge.beanindex.Constants
 
REPO_DAT_FILE - Static variable in class org.sourceforge.beanindex.Constants
 
REPO_LCX_FILE - Static variable in class org.sourceforge.beanindex.Constants
 
read(int, int) - Method in class org.sourceforge.beanindex.util.VirtualMemory
 
readExternal(byte[]) - Method in class org.sourceforge.beanindex.externalize.BeanIndexObjectExternalizer
 
readExternal(byte[]) - Method in class org.sourceforge.beanindex.externalize.JavaObjectExternalizer
 
readExternal(byte[]) - Method in interface org.sourceforge.beanindex.externalize.ObjectExternalizer
 
readInvIndexData(Token[]) - Method in class org.sourceforge.beanindex.store.IndexNodeRepository
 
readInvIndexData(int) - Method in class org.sourceforge.beanindex.store.IndexNodeRepository
 
readInvxIndexData(String, Token[]) - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
readPage(int) - Method in class org.sourceforge.beanindex.util.VirtualMemory
reads a page full of data
refreshLRUbufferTimeStamp() - Method in class org.sourceforge.beanindex.cache.LRUCache
This method refreshes the LRU Timestamp buffer to the min value in the buffer
registerDataProvider(DataProvider) - Method in class org.sourceforge.beanindex.BeanIndex
 
registerDeployEventListener(DeployEventListener) - Method in class org.sourceforge.beanindex.BeanIndex
 
removeDuplicates(String) - Method in class org.sourceforge.beanindex.store.writer.DictionaryWriter
Method to remove any duplicate keywords in the string
removeLRUCandidate() - Method in class org.sourceforge.beanindex.cache.LRUCache
This method removes the LRU Candidate from the cache.
renameDir(String, String) - Static method in class org.sourceforge.beanindex.util.FileUtil
 
resolveWildCardSearchTerm(String) - Method in class org.sourceforge.beanindex.BeanIndex
 
resolveWildCardSearchTerm(String) - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
resolveWildCardSearchTerm(String) - Method in class org.sourceforge.beanindex.store.Dictionary
 
run(Runnable) - Method in class org.sourceforge.beanindex.util.ThreadPool
Do some work.

S

SHORT - Static variable in class org.sourceforge.beanindex.Constants
 
SHORT_WRPR - Static variable in class org.sourceforge.beanindex.Constants
 
STRING - Static variable in class org.sourceforge.beanindex.Constants
 
SYS_DATA - Static variable in class org.sourceforge.beanindex.Constants
 
Schedule - class org.sourceforge.beanindex.util.Schedule.
 
Schedule() - Constructor for class org.sourceforge.beanindex.util.Schedule
 
Search - interface org.sourceforge.beanindex.search.Search.
 
SearchTerm - class org.sourceforge.beanindex.search.SearchTerm.
 
SearchTerm(IndexField) - Constructor for class org.sourceforge.beanindex.search.SearchTerm
 
SearcherConfigInfo - class org.sourceforge.beanindex.search.SearcherConfigInfo.
This is the BeanIndexSearcher configuration info class.
SearcherConfigInfo() - Constructor for class org.sourceforge.beanindex.search.SearcherConfigInfo
 
SingleThreadSearchImpl - class org.sourceforge.beanindex.search.SingleThreadSearchImpl.
 
SingleThreadSearchImpl(BeanIndexSearcher) - Constructor for class org.sourceforge.beanindex.search.SingleThreadSearchImpl
 
SoftReferenceLRUCache - class org.sourceforge.beanindex.cache.SoftReferenceLRUCache.
A simple LRU Cache implementation.
SoftReferenceLRUCache() - Constructor for class org.sourceforge.beanindex.cache.SoftReferenceLRUCache
 
SoftReferenceLRUCache(int, int) - Constructor for class org.sourceforge.beanindex.cache.SoftReferenceLRUCache
it allocates a LRUBuffer to support all the beans in the repository.
StaleObjectException - exception org.sourceforge.beanindex.search.StaleObjectException.
 
StaleObjectException() - Constructor for class org.sourceforge.beanindex.search.StaleObjectException
 
StaleObjectException(String) - Constructor for class org.sourceforge.beanindex.search.StaleObjectException
 
StaleObjectException(Throwable) - Constructor for class org.sourceforge.beanindex.search.StaleObjectException
 
StaleObjectException(String, Throwable) - Constructor for class org.sourceforge.beanindex.search.StaleObjectException
 
search(Query) - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
search(String) - Method in class org.sourceforge.beanindex.store.Dictionary
 
search(Token[]) - Method in class org.sourceforge.beanindex.store.Dictionary
 
searchDictionary(Token[]) - Method in class org.sourceforge.beanindex.search.BeanIndexSearcher
 
setData(int[]) - Method in class org.sourceforge.beanindex.util.Token
 
setDataCacheEnabled(boolean) - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
setDataCacheMaxSize(int) - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
setDictionaryCacheEnabled(boolean) - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
setDictionaryCacheMaxSize(int) - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
setExpItem(String) - Method in class org.sourceforge.beanindex.util.Token
 
setFixedRate(boolean) - Method in class org.sourceforge.beanindex.util.Schedule
 
setIndexBufferDirectRead(boolean) - Method in class org.sourceforge.beanindex.search.Query
setting this method to true will result in a direct inverted index buffer read for all the indexes added.
setIndexCacheEnabled(boolean) - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
setIndexCacheMaxSize(int) - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
setIndexName(String) - Method in class org.sourceforge.beanindex.search.IndexResult
 
setInitialDelay(long) - Method in class org.sourceforge.beanindex.util.Schedule
 
setMaximumSize(int) - Method in class org.sourceforge.beanindex.util.ThreadPool
sets the maximum limit of this ThreadPool
setMessage(String) - Method in class org.sourceforge.beanindex.notify.DeployEvent
 
setPeriod(long) - Method in class org.sourceforge.beanindex.util.Schedule
 
setPrecedence(int) - Method in class org.sourceforge.beanindex.util.Token
 
setResult(int[]) - Method in class org.sourceforge.beanindex.search.IndexResult
 
setSearchValue(int) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(long) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(short) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(char) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(byte) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(boolean) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(double) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(float) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Integer) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Long) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Short) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Character) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Byte) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Boolean) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Double) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Float) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(Date) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSearchValue(String) - Method in class org.sourceforge.beanindex.search.SearchTerm
 
setSelfReDeploySchedule(Schedule) - Method in class org.sourceforge.beanindex.BeanIndex
 
setSuccess(boolean) - Method in class org.sourceforge.beanindex.notify.DeployEvent
 
setTermId(int) - Method in class org.sourceforge.beanindex.util.Token
 
setThreadPoolEnabled(boolean) - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 
setThreadPoolMaxSize(int) - Method in class org.sourceforge.beanindex.search.SearcherConfigInfo
 

T

THREAD_DATA_READY - Static variable in class org.sourceforge.beanindex.Constants
 
THREAD_SYNC_REQD - Static variable in class org.sourceforge.beanindex.Constants
 
ThreadPool - class org.sourceforge.beanindex.util.ThreadPool.
 
ThreadPool() - Constructor for class org.sourceforge.beanindex.util.ThreadPool
 
Token - class org.sourceforge.beanindex.util.Token.
 
Token() - Constructor for class org.sourceforge.beanindex.util.Token
 
timeStamp - Variable in class org.sourceforge.beanindex.cache.LRUCache
 
toString() - Method in class org.sourceforge.beanindex.util.Token
 

U

UNKOWN_ERR - Static variable in class org.sourceforge.beanindex.Constants
 
updateDataProviderSchedule(Schedule) - Method in class org.sourceforge.beanindex.BeanIndex
 

V

VMDictionaryWriter - class org.sourceforge.beanindex.store.writer.VMDictionaryWriter.
 
VMDictionaryWriter(String, String[], VirtualMemory) - Constructor for class org.sourceforge.beanindex.store.writer.VMDictionaryWriter
 
VM_SWAP_FILE - Static variable in class org.sourceforge.beanindex.Constants
 
VirtualMemory - class org.sourceforge.beanindex.util.VirtualMemory.
 
VirtualMemory(String) - Constructor for class org.sourceforge.beanindex.util.VirtualMemory
 

W

WORKING_DIR - Static variable in class org.sourceforge.beanindex.BeanIndex
 
WORK_DIR - Static variable in class org.sourceforge.beanindex.Constants
 
write(Index, Object) - Method in class org.sourceforge.beanindex.BeanIndexBuilder
This method writes the Objects
write(Object) - Method in class org.sourceforge.beanindex.store.writer.BeanRepositoryWriter
 
write(byte) - Method in class org.sourceforge.beanindex.util.ByteBuffer
writes the int at the end of the buffer
write(int) - Method in class org.sourceforge.beanindex.util.FileIntBuffer
writes one item into the buffer
write(int) - Method in class org.sourceforge.beanindex.util.IntBuffer
writes the int at the end of the buffer
write(int, int, int) - Method in class org.sourceforge.beanindex.util.VirtualMemory
 
writeExternal(Object) - Method in class org.sourceforge.beanindex.externalize.BeanIndexObjectExternalizer
 
writeExternal(Object) - Method in class org.sourceforge.beanindex.externalize.JavaObjectExternalizer
 
writeExternal(Object) - Method in interface org.sourceforge.beanindex.externalize.ObjectExternalizer
 
writeInvIndexData(int[]) - Method in class org.sourceforge.beanindex.store.IndexNodeRepository
 
writeInvIndexData(int[]) - Method in class org.sourceforge.beanindex.store.writer.IndexNodeRepositoryWriter
 
writePage(int, int[]) - Method in class org.sourceforge.beanindex.util.VirtualMemory
 

A B C D E F G H I J L M N O P Q R S T U V W