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

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

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

origin: apache/jackrabbit-oak

@Override
public String getFunction(SelectorImpl s) {
  if (!s.equals(selector)) {
    return null;
  }
  return "@" + QueryConstants.RESTRICTION_NAME;
}
origin: org.apache.jackrabbit/oak-core

@Override
public String getFunction(SelectorImpl s) {
  if (!s.equals(selector)) {
    return null;
  }
  return "@" + QueryConstants.RESTRICTION_NAME;
}
origin: apache/jackrabbit-oak

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    s.restrictSelector(this);
  }
}

origin: apache/jackrabbit-oak

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    selector.restrictSelector(this);
  }
}
origin: org.apache.jackrabbit/oak-core

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    s.restrictSelector(this);
  }
}
origin: org.apache.jackrabbit/oak-core

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    selector.restrictSelector(this);
  }
}
origin: org.apache.jackrabbit/oak-core

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    selector.restrictSelector(this);
  }
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    selector.restrictSelector(this);
  }
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    selector.restrictSelector(this);
  }
}
origin: apache/jackrabbit-oak

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    selector.restrictSelector(this);
  }
}
origin: apache/jackrabbit-oak

@Override
public void restrictPushDown(SelectorImpl s) {
  if (s.equals(selector)) {
    selector.restrictSelector(this);
  }
}
origin: org.apache.jackrabbit/oak-core

@Override
public void restrict(FilterImpl f) {
  if (f.getSelector().equals(selector)) {
    PropertyValue v = nativeSearchExpression.currentValue();
    f.restrictProperty(NATIVE_PREFIX + language, Operator.EQUAL, v);
  }
}
origin: org.apache.jackrabbit/oak-core

@Override
public void restrict(FilterImpl f) {
  if (f.getSelector().equals(selector)) {
    String pn = normalizePropertyName(propertyName);
    f.restrictProperty(pn, Operator.NOT_EQUAL, null);
  }
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Override
public void restrict(FilterImpl f) {
  if (f.getSelector().equals(selector)) {
    PropertyValue v = nativeSearchExpression.currentValue();
    f.restrictProperty(NATIVE_PREFIX + language, Operator.EQUAL, v);
  }
}
origin: apache/jackrabbit-oak

@Override
public void restrict(FilterImpl f) {
  if (f.getSelector().equals(selector)) {
    String p = normalizePath(path);
    f.restrictPath(p, Filter.PathRestriction.EXACT);
  }
}
origin: apache/jackrabbit-oak

@Override
public void restrictList(FilterImpl f, List<PropertyValue> list) {
  if (f.getSelector().equals(selector)) {
    String pn = normalizePropertyName(propertyName);            
    f.restrictPropertyAsList(pn, list);
  }
}

origin: apache/jackrabbit-oak

@Override
public void restrict(FilterImpl f) {
  if (f.getSelector().equals(selector)) {
    PropertyValue v = nativeSearchExpression.currentValue();
    f.restrictProperty(NATIVE_PREFIX + language, Operator.EQUAL, v);
  }
}
origin: apache/jackrabbit-oak

@Override
public void restrict(FilterImpl f) {
  if (f.getSelector().equals(selector)) {
    String path = normalizePath(ancestorPath);
    f.restrictPath(path, Filter.PathRestriction.ALL_CHILDREN);
  }
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Override
public void restrict(FilterImpl f) {
  if (f.getSelector().equals(selector)) {
    PropertyValue p = expression.currentValue();
    String term = p.getValue(Type.STRING);
    String query = SUGGEST_PREFIX + term;
    PropertyValue v = PropertyValues.newString(query);
    f.restrictProperty(NativeFunctionImpl.NATIVE_PREFIX + NATIVE_LUCENE_LANGUAGE, Operator.EQUAL, v);
  }
}
origin: apache/jackrabbit-oak

@Override
public void restrict(FilterImpl f) {
  if (f.getSelector().equals(selector)) {
    PropertyValue p = expression.currentValue();
    String term = p.getValue(Type.STRING);
    String query = SUGGEST_PREFIX + term;
    PropertyValue v = PropertyValues.newString(query);
    f.restrictProperty(NativeFunctionImpl.NATIVE_PREFIX + NATIVE_LUCENE_LANGUAGE, Operator.EQUAL, v);
  }
}
org.apache.jackrabbit.oak.query.astSelectorImplequals

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.
  • evaluateCurrentRow
  • evaluateTypeMatch
  • getExecutionPlan
  • getIndex
  • getLocalPath
  • getMixinTypes
  • getLocalPath,
  • getMixinTypes,
  • getNodeType,
  • getPrimaryTypes,
  • getQuery,
  • getScanCount,
  • getSelectorName,
  • getSupertypes,
  • getTree

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • putExtra (Intent)
  • getContentResolver (Context)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • JFrame (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top plugins for WebStorm
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