Tabnine Logo
SelectorImpl.evaluateTypeMatch
Code IndexAdd Tabnine to your IDE (free)

How to use
evaluateTypeMatch
method
in
org.apache.jackrabbit.oak.query.ast.SelectorImpl

Best Java code snippets using org.apache.jackrabbit.oak.query.ast.SelectorImpl.evaluateTypeMatch (Showing top 3 results out of 315)

origin: apache/jackrabbit-oak

private boolean evaluateCurrentRow() {
  if (currentRow.isVirtualRow()) {
    //null path implies that all checks are already done -- we just need to pass it through
    return true;
  }
  if (!matchesAllTypes && !evaluateTypeMatch()) {
    return false;
  }
  for (ConstraintImpl constraint : selectorConstraints) {
    if (!constraint.evaluate()) {
      if (constraint.evaluateStop()) {
        // stop processing from now on
        cursor = null;
      }
      return false;
    }
  }
  if (joinCondition != null && !joinCondition.evaluate()) {
    return false;
  }
  return true;
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

private boolean evaluateCurrentRow() {
  if (currentRow.isVirtualRow()) {
    //null path implies that all checks are already done -- we just need to pass it through
    return true;
  }
  if (!matchesAllTypes && !evaluateTypeMatch()) {
    return false;
  }
  for (ConstraintImpl constraint : selectorConstraints) {
    if (!constraint.evaluate()) {
      if (constraint.evaluateStop()) {
        // stop processing from now on
        cursor = null;
      }
      return false;
    }
  }
  if (joinCondition != null && !joinCondition.evaluate()) {
    return false;
  }
  return true;
}
origin: org.apache.jackrabbit/oak-core

private boolean evaluateCurrentRow() {
  if (currentRow.isVirtualRow()) {
    //null path implies that all checks are already done -- we just need to pass it through
    return true;
  }
  if (!matchesAllTypes && !evaluateTypeMatch()) {
    return false;
  }
  for (ConstraintImpl constraint : selectorConstraints) {
    if (!constraint.evaluate()) {
      if (constraint.evaluateStop()) {
        // stop processing from now on
        cursor = null;
      }
      return false;
    }
  }
  if (joinCondition != null && !joinCondition.evaluate()) {
    return false;
  }
  return true;
}
org.apache.jackrabbit.oak.query.astSelectorImplevaluateTypeMatch

Popular methods of SelectorImpl

  • <init>
  • createFilter
    Create the filter condition for planning or execution.
  • currentOakProperty
  • currentPath
    Get the current absolute Oak path (normalized).
  • currentProperty
    The value for the given selector for the current node, filtered by property type.
  • currentTree
    Get the tree at the current path.
  • equals
  • evaluateCurrentRow
  • getExecutionPlan
  • getIndex
  • getLocalPath
  • getMixinTypes
  • getLocalPath,
  • getMixinTypes,
  • getNodeType,
  • getPrimaryTypes,
  • getQuery,
  • getScanCount,
  • getSelectorName,
  • getSupertypes,
  • getTree

Popular in Java

  • Finding current android device location
  • runOnUiThread (Activity)
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • 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