PSIntervalDataTypeParseNode Class Reference

Inherits Simba::SQLEngine::PSParseNode.

List of all members.

Public Member Functions

virtual void AcceptVisitor (IParseTreeVisitor &in_visitor)
 Node's Accept method, used to pass a visitor.
virtual
PSIntervalDataTypeParseNode
Clone () const
 Creates a clone of this node object.
PSDataType GetDataType () const
 Returns the data type of this node.
simba_uint32 GetFractionalSecondsPrecision () const
 Returns the interval literal's specified fractional seconds precision.
PSIntervalDataType GetIntervalDataType () const
 Returns the interval data type of this interval DataType.
simba_uint32 GetLeadingFieldPrecision () const
 Returns the interval literal's specified leading field precision.
virtual simba_wstring GetLogString () const
 Returns a string representation of this node.
simba_int16 GetSqlType () const
 Returns the SQL type that corresponds to the interval data type.
 PSIntervalDataTypeParseNode (const PSIntervalDataTypeParseNode &in_other)
 Copy constructor.
 PSIntervalDataTypeParseNode (PSIntervalDataType in_intervalType, simba_uint32 in_leadingFieldPrecision, simba_uint32 in_fractionalSecondsPrecision)
 Constructor.
virtual ~PSIntervalDataTypeParseNode ()
 Destructor.

Detailed Description

A parse node for representing interval data types

Interval types could be:


Constructor & Destructor Documentation

PSIntervalDataTypeParseNode ( PSIntervalDataType  in_intervalType,
simba_uint32  in_leadingFieldPrecision,
simba_uint32  in_fractionalSecondsPrecision 
)

Constructor.

Parameters:
in_intervalType The type of Interval Data Type
in_leadingFieldPrecision The leading precision of the type
in_fractionalSecondsPrecision The fractional seconds precision of the type

Copy constructor.

To support "cloning". See Clone() method.

Parameters:
in_other The other node from which to create a copy.
virtual ~PSIntervalDataTypeParseNode (  )  [virtual]

Destructor.


Member Function Documentation

virtual void AcceptVisitor ( IParseTreeVisitor in_visitor  )  [virtual]

Node's Accept method, used to pass a visitor.

Parameters:
in_visitor The visitor that is to be used to visit this node.

Implements PSParseNode.

virtual PSIntervalDataTypeParseNode* Clone (  )  const [virtual]

Creates a clone of this node object.

Returns:
A clone of this node object. (OWN)

Implements PSParseNode.

PSDataType GetDataType (  )  const [virtual]

Returns the data type of this node.

Returns:
PS_DT_INTERVAL_DATATYPE always.

Implements PSParseNode.

simba_uint32 GetFractionalSecondsPrecision (  )  const

Returns the interval literal's specified fractional seconds precision.

Returns:
The fractional seconds precision of the type.
PSIntervalDataType GetIntervalDataType (  )  const [virtual]

Returns the interval data type of this interval DataType.

Returns:
The data type of the node.

Reimplemented from PSParseNode.

simba_uint32 GetLeadingFieldPrecision (  )  const

Returns the interval literal's specified leading field precision.

Returns:
The leading field precision of the type.
virtual simba_wstring GetLogString (  )  const [virtual]

Returns a string representation of this node.

Returns:
A string representation of the node.

Reimplemented from PSParseNode.

simba_int16 GetSqlType (  )  const

Returns the SQL type that corresponds to the interval data type.

Returns:
The SQL type of the node.

The documentation for this class was generated from the following file:

Generated on Wed May 17 14:21:18 2017 for SimbaEngine 10.1.3.1011 by simba