Class NameSegment

java.lang.Object
org.olap4j.mdx.NameSegment
All Implemented Interfaces:
IdentifierSegment

public class NameSegment extends Object implements IdentifierSegment
Component in a compound identifier that describes the name of an object. Optionally, the name is quoted in brackets.
Author:
jhyde
See Also:
  • Constructor Details

    • NameSegment

      public NameSegment(ParseRegion region, String name, Quoting quoting)
      Creates a segment with the given quoting and region.
      Parameters:
      region - Region of source code
      name - Name
      quoting - Quoting style
    • NameSegment

      public NameSegment(String name)
      Creates a quoted segment, "[name]".
      Parameters:
      name - Name of segment
  • Method Details