com.bigdata.btree
Interface ILocalBTreeView

All Superinterfaces:
IAutoboxBTree, ICounterSetAccess, IIndex, IIndexLocalCounter, IRangeQuery, ISimpleBTree
All Known Implementing Classes:
AbstractBTree, BTree, CommitRecordIndex, CommitTimeIndex, CounterSetBTree, EventReceiver.EventBTree, FusedView, IndexSegment, IndexSegmentIndex, IsolatedFusedView, JournalIndex, MetadataIndex, Name2Addr, ReadCommittedView, TxId2CommitTimeIndex

public interface ILocalBTreeView
extends IIndex

Interface indicates that the index is local rather than remote. A local index may consistent of either an AbstractBTree or a FusedView of AbstractBTrees.

Version:
$Id: ILocalBTreeView.java 3730 2010-10-05 19:57:25Z thompsonbry $
Author:
Bryan Thompson

Field Summary
 
Fields inherited from interface com.bigdata.btree.IRangeQuery
ALL, CURSOR, DEFAULT, DELETED, FIXED_LENGTH_SUCCESSOR, KEYS, NONE, PARALLEL, READONLY, REMOVEALL, REVERSE, VALS
 
Method Summary
 IBloomFilter getBloomFilter()
          Return the bloom filter.
 BTree getMutableBTree()
          The BTree that is absorbing writes for the view.
 int getSourceCount()
          The #of AbstractBTrees sources for the view.
 AbstractBTree[] getSources()
          An array containing the ordered sources in the view.
 
Methods inherited from interface com.bigdata.btree.IIndex
getCounters, getIndexMetadata, getResourceMetadata, submit, submit, submit
 
Methods inherited from interface com.bigdata.btree.ISimpleBTree
contains, insert, lookup, remove
 
Methods inherited from interface com.bigdata.btree.IAutoboxBTree
contains, insert, lookup, remove
 
Methods inherited from interface com.bigdata.btree.IRangeQuery
rangeCount, rangeCount, rangeCountExact, rangeCountExactWithDeleted, rangeIterator, rangeIterator, rangeIterator
 
Methods inherited from interface com.bigdata.btree.IIndexLocalCounter
getCounter
 

Method Detail

getSourceCount

int getSourceCount()
The #of AbstractBTrees sources for the view. This will be ONE (1) if the view is a BTree.


getSources

AbstractBTree[] getSources()
An array containing the ordered sources in the view. Changes to the array DO NOT affect the view. If the view is an AbstractBTree then the array will contain a single element which is that AbstractBTree.


getMutableBTree

BTree getMutableBTree()
The BTree that is absorbing writes for the view.

Throws:
UnsupportedOperationException - if the index is not mutable.

getBloomFilter

IBloomFilter getBloomFilter()
Return the bloom filter.

Returns:
The bloom filter if one exists and otherwise null.


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.