congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
IFunctionDescriptor.setSourceLocation
Code IndexAdd Tabnine to your IDE (free)

How to use
setSourceLocation
method
in
org.apache.asterix.om.functions.IFunctionDescriptor

Best Java code snippets using org.apache.asterix.om.functions.IFunctionDescriptor.setSourceLocation (Showing top 4 results out of 315)

origin: apache/asterixdb

protected IFunctionDescriptor createCastFunction(boolean strictCast) throws AlgebricksException {
  IFunctionDescriptor castFuncDesc = metadataProvider.getFunctionManager()
      .lookupFunction(strictCast ? BuiltinFunctions.CAST_TYPE : BuiltinFunctions.CAST_TYPE_LAX);
  castFuncDesc.setSourceLocation(sourceLoc);
  castFuncDesc.setImmutableStates(enforcedItemType, itemType);
  return castFuncDesc;
}
origin: apache/asterixdb

  private IFunctionDescriptor resolveFunction(AbstractFunctionCallExpression expr, IVariableTypeEnvironment env,
      JobGenContext context) throws AlgebricksException {
    FunctionIdentifier fnId = expr.getFunctionIdentifier();
    IFunctionDescriptor fd = functionManager.lookupFunction(fnId);
    fd.setSourceLocation(expr.getSourceLocation());
    IFunctionTypeInferer fnTypeInfer = functionManager.lookupFunctionTypeInferer(fnId);
    if (fnTypeInfer != null) {
      CompilerProperties compilerProps = ((IApplicationContext) context.getAppContext()).getCompilerProperties();
      fnTypeInfer.infer(expr, fd, env, compilerProps);
    }
    return fd;
  }
}
origin: apache/asterixdb

        new ConstantEvalFactory(Arrays.copyOf(abvs.getByteArray(), abvs.getLength()));
    IFunctionDescriptor fDesc = functionManager.lookupFunction(BuiltinFunctions.FIELD_ACCESS_BY_INDEX);
    fDesc.setSourceLocation(sourceLoc);
    fDesc.setImmutableStates(recType);
    return fDesc.createEvaluatorFactory(
      new ConstantEvalFactory(Arrays.copyOf(abvs.getByteArray(), abvs.getLength()));
  IFunctionDescriptor fDesc = functionManager.lookupFunction(BuiltinFunctions.FIELD_ACCESS_BY_NAME);
  fDesc.setSourceLocation(sourceLoc);
  return fDesc.createEvaluatorFactory(
      new IScalarEvaluatorFactory[] { recordEvalFactory, fldNameEvalFactory });
fDesc.setSourceLocation(sourceLoc);
fDesc.setImmutableStates(recType, fldName);
return fDesc.createEvaluatorFactory(new IScalarEvaluatorFactory[] { recordEvalFactory });
origin: apache/asterixdb

        new ConstantEvalFactory(Arrays.copyOf(abvs.getByteArray(), abvs.getLength()));
    IFunctionDescriptor fDesc = functionManager.lookupFunction(BuiltinFunctions.FIELD_ACCESS_BY_INDEX);
    fDesc.setSourceLocation(sourceLoc);
    fDesc.setImmutableStates(recType);
    IScalarEvaluatorFactory evalFactory = fDesc.createEvaluatorFactory(
fDesc.setSourceLocation(sourceLoc);
fDesc.setImmutableStates(recType, fldName);
IScalarEvaluatorFactory evalFactory =
org.apache.asterix.om.functionsIFunctionDescriptorsetSourceLocation

Popular methods of IFunctionDescriptor

  • createEvaluatorFactory
  • setImmutableStates
  • getIdentifier
  • createAggregateEvaluatorFactory
  • createRunningAggregateEvaluatorFactory
  • createSerializableAggregateEvaluatorFactory
  • createUnnestingEvaluatorFactory
  • getFunctionDescriptorTag

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • getExternalFilesDir (Context)
  • startActivity (Activity)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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