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

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

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

origin: org.apache.jackrabbit/oak-core

/**
 * Get the property value. The property name may be relative. The special
 * property names "jcr:path", "jcr:score" and "rep:excerpt" are supported.
 * 
 * @param oakPropertyName (must already be normalized)
 * @return the property value or null if not found
 */
public PropertyValue currentOakProperty(String oakPropertyName) {
  return currentOakProperty(oakPropertyName, null);
}
origin: apache/jackrabbit-oak

/**
 * Get the property value. The property name may be relative. The special
 * property names "jcr:path", "jcr:score" and "rep:excerpt" are supported.
 * 
 * @param oakPropertyName (must already be normalized)
 * @return the property value or null if not found
 */
public PropertyValue currentOakProperty(String oakPropertyName) {
  return currentOakProperty(oakPropertyName, null);
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

/**
 * Get the property value. The property name may be relative. The special
 * property names "jcr:path", "jcr:score" and "rep:excerpt" are supported.
 * 
 * @param oakPropertyName (must already be normalized)
 * @return the property value or null if not found
 */
public PropertyValue currentOakProperty(String oakPropertyName) {
  return currentOakProperty(oakPropertyName, null);
}
origin: apache/jackrabbit-oak

@Override
public PropertyValue currentProperty() {
  PropertyValue p = selector.currentOakProperty(QueryConstants.JCR_SCORE);
  if (p == null) {
    // TODO if score() is not supported by the index, use the value 0.0?
    return PropertyValues.newDouble(0.0);
  }
  return p;
}
origin: apache/jackrabbit-oak

/**
 * The value for the given selector for the current node, filtered by
 * property type.
 * 
 * @param propertyName the JCR (not normalized) property name
 * @param propertyType only include properties of this type
 * @return the property value (possibly null)
 */
public PropertyValue currentProperty(String propertyName, int propertyType) {
  String pn = normalizePropertyName(propertyName);
  return currentOakProperty(pn, propertyType);
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

/**
 * The value for the given selector for the current node.
 * 
 * @param propertyName the JCR (not normalized) property name
 * @return the property value
 */
public PropertyValue currentProperty(String propertyName) {
  String pn = normalizePropertyName(propertyName);
  return currentOakProperty(pn);
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Override
public PropertyValue currentProperty() {
  PropertyValue p = selector.currentOakProperty(QueryConstants.JCR_SCORE);
  if (p == null) {
    // TODO if score() is not supported by the index, use the value 0.0?
    return PropertyValues.newDouble(0.0);
  }
  return p;
}
origin: apache/jackrabbit-oak

/**
 * The value for the given selector for the current node.
 * 
 * @param propertyName the JCR (not normalized) property name
 * @return the property value
 */
public PropertyValue currentProperty(String propertyName) {
  String pn = normalizePropertyName(propertyName);
  return currentOakProperty(pn);
}
origin: org.apache.jackrabbit/oak-core

@Override
public PropertyValue currentProperty() {
  PropertyValue p = selector.currentOakProperty(QueryConstants.JCR_SCORE);
  if (p == null) {
    // TODO if score() is not supported by the index, use the value 0.0?
    return PropertyValues.newDouble(0.0);
  }
  return p;
}
origin: org.apache.jackrabbit/oak-core

/**
 * The value for the given selector for the current node.
 * 
 * @param propertyName the JCR (not normalized) property name
 * @return the property value
 */
public PropertyValue currentProperty(String propertyName) {
  String pn = normalizePropertyName(propertyName);
  return currentOakProperty(pn);
}
origin: org.apache.jackrabbit/oak-core

/**
 * The value for the given selector for the current node, filtered by
 * property type.
 * 
 * @param propertyName the JCR (not normalized) property name
 * @param propertyType only include properties of this type
 * @return the property value (possibly null)
 */
public PropertyValue currentProperty(String propertyName, int propertyType) {
  String pn = normalizePropertyName(propertyName);
  return currentOakProperty(pn, propertyType);
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

/**
 * The value for the given selector for the current node, filtered by
 * property type.
 * 
 * @param propertyName the JCR (not normalized) property name
 * @param propertyType only include properties of this type
 * @return the property value (possibly null)
 */
public PropertyValue currentProperty(String propertyName, int propertyType) {
  String pn = normalizePropertyName(propertyName);
  return currentOakProperty(pn, propertyType);
}
origin: apache/jackrabbit-oak

@Override
public PropertyValue currentProperty() {
  return this.getSelector().currentOakProperty(getPropertyName());
}
origin: org.apache.jackrabbit/oak-core

@Override
public PropertyValue currentProperty() {
  return this.getSelector().currentOakProperty(getPropertyName());
}
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

@Override
public PropertyValue currentProperty() {
  return this.getSelector().currentOakProperty(getPropertyName());
}
origin: apache/jackrabbit-oak

PropertyValue value = currentOakProperty(t, oakPropertyName, propertyType);
if (value != null) {
  LOG.trace("readOakProperties() - adding: '{}' from '{}'", value, t.getPath());
origin: org.apache.jackrabbit/oak-core

PropertyValue value = currentOakProperty(t, oakPropertyName, propertyType);
if (value != null) {
  LOG.trace("readOakProperties() - adding: '{}' from '{}'", value, t.getPath());
origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak

PropertyValue value = currentOakProperty(t, oakPropertyName, propertyType);
if (value != null) {
  LOG.trace("readOakProperties() - adding: '{}' from '{}'", value, t.getPath());
origin: apache/jackrabbit-oak

return currentOakProperty(t, oakPropertyName, propertyType);
origin: org.apache.jackrabbit/oak-core

return currentOakProperty(t, oakPropertyName, propertyType);
org.apache.jackrabbit.oak.query.astSelectorImplcurrentOakProperty

Javadoc

Get the property value. The property name may be relative. The special property names "jcr:path", "jcr:score" and "rep:excerpt" are supported.

Popular methods of SelectorImpl

  • <init>
  • createFilter
    Create the filter condition for planning or execution.
  • 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
  • evaluateTypeMatch
  • getExecutionPlan
  • getIndex
  • getLocalPath
  • getMixinTypes
  • getLocalPath,
  • getMixinTypes,
  • getNodeType,
  • getPrimaryTypes,
  • getQuery,
  • getScanCount,
  • getSelectorName,
  • getSupertypes,
  • getTree

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • BoxLayout (javax.swing)
  • JLabel (javax.swing)
  • CodeWhisperer alternatives
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