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

Module indexocean

indexocean.py

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

Classes
  Lock
  IndexedSubstringDict
  IndexedOcean
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.
  IndexedOceanTests
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

Imports: sys, os, time, unittest, ocean, Struct, types, OOBTree, SubstringDict, 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, pickle, StringIO