Beispiel #1
0
 public SortItem(NodeLocation location, object sortKey, Ordering ordering, NullOrdering nullOrdering) : base(location)
 {
     this.Ordering     = ordering;
     this.NullOrdering = nullOrdering;
     this.SortKey      = sortKey;
 }
Beispiel #2
0
 protected Node(NodeLocation location)
 {
     this.Location = location;
 }
Beispiel #3
0
 public OrderBy(NodeLocation location, IEnumerable <SortItem> sortItems) : base(location)
 {
     this.SortItems = sortItems ?? throw new ArgumentNullException("sortItems");
 }
Beispiel #4
0
 public WindowFrame(NodeLocation location, WindowFrameType type, FrameBound start, FrameBound end) : base(location)
 {
     this.Type  = type;
     this.Start = start ?? throw new ArgumentNullException("start");
     this.End   = end; // this is optional ?? throw new ArgumentNullException("end")
 }
Beispiel #5
0
 public Window(NodeLocation location, IEnumerable <object> partitionBy, OrderBy orderBy, WindowFrame frame) : base(location)
 {
     this.PartitionBy = partitionBy ?? throw new ArgumentNullException("partitionBy");
     this.OrderBy     = orderBy; // These are actually optional ?? throw new ArgumentNullException("orderBy");
     this.Frame       = frame;   // These are actually optional ?? throw new ArgumentNullException("frame");
 }
Beispiel #6
0
 public FrameBound(NodeLocation location, FrameBoundType type, dynamic value, dynamic originalValue) : base(location)
 {
     this.Type          = type;
     this.Value         = value;
     this.OriginalValue = originalValue;
 }
Beispiel #7
0
 public FrameBound(NodeLocation location, FrameBoundType type, dynamic value) : this(location, type, (object)value, (object)value)
 {
 }
Beispiel #8
0
 public FrameBound(NodeLocation location, FrameBoundType type) : this(location, type, null, null)
 {
 }
Beispiel #9
0
 public FunctionCall(NodeLocation location, QualifiedName name, IEnumerable <object> arguments)
     : this(null, name, null, null, null, false, arguments)
 {
 }