com.bigdata.bop.ap.filter
Class BOpResolver

java.lang.Object
  extended by com.bigdata.bop.CoreBaseBOp
      extended by com.bigdata.bop.BOpBase
          extended by com.bigdata.bop.ap.filter.BOpFilterBase
              extended by com.bigdata.bop.ap.filter.BOpResolver
All Implemented Interfaces:
BOp, IFilter, IPropertySet, Serializable, Cloneable
Direct Known Subclasses:
CacheValueFilter, StripContextFilter

public abstract class BOpResolver
extends BOpFilterBase

Striterator resolver pattern.

Version:
$Id: BOpResolver.java 3665 2010-09-28 16:53:22Z thompsonbry $
Author:
Bryan Thompson
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.bigdata.bop.ap.filter.BOpFilterBase
BOpFilterBase.Annotations
 
Field Summary
 
Fields inherited from class com.bigdata.bop.CoreBaseBOp
DEFAULT_INITIAL_CAPACITY
 
Fields inherited from interface com.bigdata.bop.BOp
NOANNS, NOARGS
 
Constructor Summary
BOpResolver(BOp[] args, Map<String,Object> annotations)
           
BOpResolver(BOpFilterBase op)
           
 
Method Summary
protected  Iterator filterOnce(Iterator src, Object context)
          Wrap the source iterator with this filter.
protected abstract  Object resolve(Object obj)
          Resolve the object.
 
Methods inherited from class com.bigdata.bop.ap.filter.BOpFilterBase
filter
 
Methods inherited from class com.bigdata.bop.BOpBase
_clearProperty, _set, _setProperty, annotations, annotationsCopy, annotationsEqual, annotationsRef, argIterator, args, argsCopy, arity, clearAnnotations, clearProperty, deepCopy, deepCopy, get, getProperty, setArg, setProperty, setUnboundProperty, toArray, toArray
 
Methods inherited from class com.bigdata.bop.CoreBaseBOp
annotationsEqual, annotationsToString, checkArgs, clone, equals, getEvaluationContext, getId, getProperty, getRequiredProperty, hashCode, indent, isController, toShortString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface cutthecrap.utils.striterators.IPropertySet
getProperty
 

Constructor Detail

BOpResolver

public BOpResolver(BOpFilterBase op)
Parameters:
op -

BOpResolver

public BOpResolver(BOp[] args,
                   Map<String,Object> annotations)
Parameters:
args -
annotations -
Method Detail

filterOnce

protected final Iterator filterOnce(Iterator src,
                                    Object context)
Description copied from class: BOpFilterBase
Wrap the source iterator with this filter.

Specified by:
filterOnce in class BOpFilterBase
Parameters:
src - The source iterator.
context - The iterator evaluation context.
Returns:
The wrapped iterator.

resolve

protected abstract Object resolve(Object obj)
Resolve the object.

Parameters:
obj - The object.
Returns:
The resolved object.


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