Tabnine Logo
ScalarFunctionCallExpression.getFunctionIdentifier
Code IndexAdd Tabnine to your IDE (free)

How to use
getFunctionIdentifier
method
in
org.apache.hyracks.algebricks.core.algebra.expressions.ScalarFunctionCallExpression

Best Java code snippets using org.apache.hyracks.algebricks.core.algebra.expressions.ScalarFunctionCallExpression.getFunctionIdentifier (Showing top 4 results out of 315)

origin: apache/asterixdb

  /**
   * Whether the expression contains a missing filtering
   *
   * @param expr
   * @return true if the expression contains a missing filtering function call; false otherwise.
   */
  private boolean containsMissingFiltering(ILogicalExpression expr) {
    if (expr.getExpressionTag() != LogicalExpressionTag.FUNCTION_CALL) {
      return false;
    }
    ScalarFunctionCallExpression func = (ScalarFunctionCallExpression) expr;
    if (func.getFunctionIdentifier() == AlgebricksBuiltinFunctions.AND) {
      for (Mutable<ILogicalExpression> argumentRef : func.getArguments()) {
        if (containsMissingFiltering(argumentRef.getValue())) {
          return true;
        }
      }
      return false;
    }
    if (func.getFunctionIdentifier() != AlgebricksBuiltinFunctions.IS_MISSING) {
      return false;
    }
    return true;
  }
}
origin: apache/asterixdb

if (func.getFunctionIdentifier() == AlgebricksBuiltinFunctions.AND) {
  for (Mutable<ILogicalExpression> argumentRef : func.getArguments()) {
    if (containsNotMissingFiltering(argumentRef.getValue())) {
if (func.getFunctionIdentifier() != AlgebricksBuiltinFunctions.NOT) {
  return false;
if (func2.getFunctionIdentifier() != AlgebricksBuiltinFunctions.IS_MISSING) {
  return false;
origin: apache/asterixdb

ScalarFunctionCallExpression funcExpr = (ScalarFunctionCallExpression) assignOp.getExpressions()
    .get(expectedRecordIndex).getValue();
fid = funcExpr.getFunctionIdentifier();
origin: apache/asterixdb

if (FUNC_ID_SET_THAT_SHOULD_NOT_BE_APPLIED.contains(expr.getFunctionIdentifier())) {
  return new Pair<>(false, null);
  if (expr.getFunctionIdentifier().equals(BuiltinFunctions.UNORDERED_LIST_CONSTRUCTOR)
      || expr.getFunctionIdentifier().equals(BuiltinFunctions.ORDERED_LIST_CONSTRUCTOR)) {
    AbstractCollectionType listType = (AbstractCollectionType) TypeCastUtils.getRequiredType(expr);
    if (listType != null && (listType.getItemType().getTypeTag() == ATypeTag.ANY
  if (expr.getFunctionIdentifier().equals(BuiltinFunctions.FIELD_ACCESS_BY_NAME)) {
    ARecordType rt = (ARecordType) _emptyTypeEnv.getType(expr.getArguments().get(0).getValue());
    String str = ConstantExpressionUtil.getStringConstant(expr.getArguments().get(1).getValue());
  IAObject c = FUNC_ID_TO_CONSTANT.get(expr.getFunctionIdentifier());
  if (c != null) {
    return new Pair<>(true, new ConstantExpression(new AsterixConstantValue(c)));
org.apache.hyracks.algebricks.core.algebra.expressionsScalarFunctionCallExpressiongetFunctionIdentifier

Popular methods of ScalarFunctionCallExpression

  • <init>
  • getArguments
  • setSourceLocation
  • getAnnotations
  • getFunctionInfo
  • cloneAnnotations
  • cloneArguments
  • equals
  • getOpaqueParameters
  • getSourceLocation
  • getUsedVariables
  • isFunctional
  • getUsedVariables,
  • isFunctional,
  • setOpaqueParameters,
  • substituteVar,
  • toString

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (Timer)
  • findViewById (Activity)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Kernel (java.awt.image)
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Best plugins for Eclipse
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