DefaultSearchMask< T extends DataObject > Class Reference

Inheritance diagram for DefaultSearchMask< T extends DataObject >:
Collaboration diagram for DefaultSearchMask< T extends DataObject >:

List of all members.

Public Methods

int hashCode ()
boolean equals (Object obj)
 DefaultSearchMask (long primaryIdMask, long primaryIdValue, long secondaryIdMask, long secondaryIdValue, Range anchor, String baseClass)
 DefaultSearchMask (long primaryIdMask, long primaryIdValue, long secondaryIdMask, long secondaryIdValue, Range anchor, String baseClass, Filter filter)
final boolean matchesPrimaryId (final long id)
final boolean matchesSecondaryId (final long id)
final boolean matches (final long id, final long secondaryId)
final boolean matchesRange (final int left, final int right)
final boolean matchesFilter (final Annotation< T > element)
final String getClassName ()
final String getDataClass ()
final int getTypeId ()
Range getRange ()
boolean walkBackwards ()

Public Static Methods

static final long getPrimaryBitMask (boolean chunk, boolean document, boolean unique)
static final long getSecondaryBitMask (boolean type, boolean clazz)
static final long getAnchorBitMask (boolean left, boolean right)

Protected Attributes

final long primaryIdMask
final long primaryIdValue
final long secondaryIdMask
final long secondaryIdValue

Constructors

DefaultSearchMask ( long  primaryIdMask,
long  primaryIdValue,
long  secondaryIdMask,
long  secondaryIdValue,
Range  anchor,
String  baseClass 
)
DefaultSearchMask ( long  primaryIdMask,
long  primaryIdValue,
long  secondaryIdMask,
long  secondaryIdValue,
Range  anchor,
String  baseClass,
Filter  filter 
)

Method Details

boolean equals ( Object  obj)
static final long getAnchorBitMask ( boolean  left,
boolean  right 
) [static]
final String getClassName ( )
final String getDataClass ( )
static final long getPrimaryBitMask ( boolean  chunk,
boolean  document,
boolean  unique 
) [static]
Range getRange ( )
static final long getSecondaryBitMask ( boolean  type,
boolean  clazz 
) [static]
final int getTypeId ( )
int hashCode ( )
final boolean matches ( final long  id,
final long  secondaryId 
)
final boolean matchesFilter ( final Annotation< T >  element)
final boolean matchesPrimaryId ( final long  id)
final boolean matchesRange ( final int  left,
final int  right 
)
final boolean matchesSecondaryId ( final long  id)
boolean walkBackwards ( )

Field Details

final long primaryIdMask [protected]
final long primaryIdValue [protected]
final long secondaryIdMask [protected]
final long secondaryIdValue [protected]