congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ScriptTupleFunction.evaluate
Code IndexAdd Tabnine to your IDE (free)

How to use
evaluate
method
in
cascading.operation.expression.ScriptTupleFunction

Best Java code snippets using cascading.operation.expression.ScriptTupleFunction.evaluate (Showing top 6 results out of 315)

origin: cwensel/cascading

@Override
public void operate( FlowProcess flowProcess, FunctionCall<Context> functionCall )
 {
 functionCall.getOutputCollector().add( (Tuple) evaluate( functionCall.getContext(), functionCall.getArguments() ) );
 }
}
origin: cascading/cascading-expression

@Override
public void operate( FlowProcess flowProcess, FunctionCall<Context> functionCall )
 {
 functionCall.getOutputCollector().add( (Tuple) evaluate( functionCall.getContext(), functionCall.getArguments() ) );
 }
}
origin: cascading/cascading-expression

private Object evaluate( String expression, Class returnType, TupleEntry tupleEntry )
 {
 ScriptTupleFunction function = new ScriptTupleFunction( new Fields( "result", returnType ), expression );
 ConcreteCall<ExpressionOperation.Context> call = new ConcreteCall<ExpressionOperation.Context>( tupleEntry.getFields(), function.getFieldDeclaration() );
 function.prepare( FlowProcess.NULL, call );
 return function.evaluate( call.getContext(), tupleEntry );
 }
origin: cwensel/cascading

private Object evaluate( String expression, String[] names, Class[] types, TupleEntry tupleEntry )
 {
 ScriptTupleFunction function = new ScriptTupleFunction( new Fields( "result" ), expression, names, types );
 ConcreteCall<ExpressionOperation.Context> call = new ConcreteCall<ExpressionOperation.Context>( tupleEntry.getFields(), function.getFieldDeclaration() );
 function.prepare( FlowProcess.NULL, call );
 return function.evaluate( call.getContext(), tupleEntry );
 }
origin: cwensel/cascading

private Object evaluate( String expression, Class returnType, TupleEntry tupleEntry )
 {
 ScriptTupleFunction function = new ScriptTupleFunction( new Fields( "result", returnType ), expression );
 ConcreteCall<ExpressionOperation.Context> call = new ConcreteCall<ExpressionOperation.Context>( tupleEntry.getFields(), function.getFieldDeclaration() );
 function.prepare( FlowProcess.NULL, call );
 return function.evaluate( call.getContext(), tupleEntry );
 }
origin: cascading/cascading-expression

private Object evaluate( String expression, String[] names, Class[] types, TupleEntry tupleEntry )
 {
 ScriptTupleFunction function = new ScriptTupleFunction( new Fields( "result" ), expression, names, types );
 ConcreteCall<ExpressionOperation.Context> call = new ConcreteCall<ExpressionOperation.Context>( tupleEntry.getFields(), function.getFieldDeclaration() );
 function.prepare( FlowProcess.NULL, call );
 return function.evaluate( call.getContext(), tupleEntry );
 }
cascading.operation.expressionScriptTupleFunctionevaluate

Popular methods of ScriptTupleFunction

  • <init>
    Constructor ScriptFunction creates a new ScriptFunction instance. This constructor expects all param
  • getBlock
  • getFieldDeclaration
  • prepare

Popular in Java

  • Creating JSON documents from java classes using gson
  • getSharedPreferences (Context)
  • getContentResolver (Context)
  • setContentView (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now