org.modeshape.jcr.query.plan

## Class PlanUtil.ColumnMapping

- java.lang.Object
- - org.modeshape.jcr.query.plan.PlanUtil.ColumnMapping

- Enclosing class:
    PlanUtil

      public static class PlanUtil.ColumnMapping
      extends Object

  Defines how the view columns are mapped (or resolved) into the columns from the source tables.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PlanUtil.ColumnMapping(SelectorName originalName)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Column` | `getMappedColumn(String viewColumnName)`
    `Set<SelectorName>` | `getMappedSelectorNames()`
    `SelectorName` | `getOriginalName()`
    `SelectorName` | `getSingleMappedSelectorName()`
    `boolean` | `isMappedToSingleSelector()`
    `void` | `map(String originalColumnName, Column projectedColumn)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PlanUtil.ColumnMapping

          public PlanUtil.ColumnMapping(SelectorName originalName)

  - ### Method Detail

    - #### map

          public void map(String originalColumnName,
                 Column projectedColumn)

    - #### getOriginalName

          public SelectorName getOriginalName()

    - #### getMappedColumn

          public Column getMappedColumn(String viewColumnName)

    - #### isMappedToSingleSelector

          public boolean isMappedToSingleSelector()

    - #### getMappedSelectorNames

          public Set<SelectorName> getMappedSelectorNames()

      Returns:
        tableNames

    - #### getSingleMappedSelectorName

          public SelectorName getSingleMappedSelectorName()

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.