Class SqlFrameBoundary
public class SqlFrameBoundary : QueryElement, IQueryElement
- Inheritance
-
objectSqlFrameBoundary
- Implements
- Inherited Members
- Extension Methods
Constructors
SqlFrameBoundary(bool, FrameBoundaryType, ISqlExpression?)
public SqlFrameBoundary(bool isPreceding, SqlFrameBoundary.FrameBoundaryType boundaryType, ISqlExpression? offset)
Parameters
isPrecedingboolboundaryTypeSqlFrameBoundary.FrameBoundaryTypeoffsetISqlExpression
Properties
BoundaryType
public SqlFrameBoundary.FrameBoundaryType BoundaryType { get; }
Property Value
ElementType
AST node type.
public override QueryElementType ElementType { get; }
Property Value
IsPreceding
public bool IsPreceding { get; }
Property Value
Offset
public ISqlExpression? Offset { get; }
Property Value
Methods
Accept(QueryElementVisitor)
Visitor support.
public override IQueryElement Accept(QueryElementVisitor visitor)
Parameters
visitorQueryElementVisitor
Returns
Equals(SqlFrameBoundary, Func<ISqlExpression, ISqlExpression, bool>)
Structurally compares this boundary with other, using comparer to compare the offset expressions.
public bool Equals(SqlFrameBoundary other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
otherSqlFrameBoundarycomparerFunc<ISqlExpression, ISqlExpression, bool>
Returns
GetElementHashCode()
public override int GetElementHashCode()
Returns
Modify(ISqlExpression)
public void Modify(ISqlExpression offset)
Parameters
offsetISqlExpression
ToString(QueryElementTextWriter)
Generates debug text representation of AST node.
public override QueryElementTextWriter ToString(QueryElementTextWriter writer)
Parameters
writerQueryElementTextWriter