Package bw :: Package poseidon :: Module indexoceanserver
[frames] | no frames]

Module indexoceanserver

indexoceanserver.py

Created by Prateek Sureka on 2007-04-12. Copyright (c) 2007-2008 Brainwave Corp. All rights reserved.

Classes
  IndexedSubstringDict
  IndexOcean
This class wraps around a regular ocean instance and manages multiple indexes (based on key-types) and makes available functions which take advantage of the indexes.
  PyroIndexOcean
  IndexOceanTests
Functions
 
main(cls=PyroIndexOcean)
Variables
  KEYMETA_S = Struct("=I0I")
  KEYMETA_U = KEYMETA_S.unpack
  KEYMETA_P = KEYMETA_S.pack
  PAIR_S = Struct("=II0I")
  PAIR_U = PAIR_S.unpack
  PAIR_P = PAIR_S.pack
  ITEM_S = Struct("!dL")

Imports: sys, os, BasicContext, Underflow, DecimalException, DivisionByZero, InvalidOperation, ROUND_DOWN, ROUND_HALF_EVEN, ROUND_HALF_UP, ROUND_UP, Inexact, getcontext, ROUND_FLOOR, Overflow, ROUND_HALF_DOWN, Decimal, DefaultContext, Context, ROUND_CEILING, Subnormal, Rounded, ExtendedContext, setcontext, Clamped, izip, marshal, Struct, time, types, unittest, OOBTree, cache, diskindex, PersistenceEngine, HF_S, modules, portalocker, SubstringDict