org.modeshape.graph.query.process
Interface ProcessingComponent.DynamicOperation

Enclosing class:
ProcessingComponent

protected static interface ProcessingComponent.DynamicOperation

Interface for evaluating a DynamicOperand to return the resulting value.


Method Summary
 Object evaluate(Object[] tuple)
          Perform the dynamic evaluation to obtain the desired result.
 String getExpectedType()
          Get the expected type of the result of this evaluation
 

Method Detail

getExpectedType

String getExpectedType()
Get the expected type of the result of this evaluation

Returns:
the property type; never null

evaluate

Object evaluate(Object[] tuple)
Perform the dynamic evaluation to obtain the desired result.

Parameters:
tuple - the tuple; never null
Returns:
the value that results from dynamically evaluating the operand against the tuple; may be null


Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.