Ejemplo n.º 1
0
        public override void Read(OsiReader reader)
        {
            base.Read(reader);
            Value1Index = reader.ReadSByte();
            Value2Index = reader.ReadSByte();

            Value1 = new Value();
            Value1.Read(reader);

            Value2 = new Value();
            Value2.Read(reader);

            RelOp = (RelOpType)reader.ReadInt32();
        }
Ejemplo n.º 2
0
        public override void Read(OsiReader reader)
        {
            base.Read(reader);
            LeftValueIndex  = reader.ReadSByte();
            RightValueIndex = reader.ReadSByte();

            LeftValue = new Value();
            LeftValue.Read(reader);

            RightValue = new Value();
            RightValue.Read(reader);

            RelOp = (RelOpType)reader.ReadInt32();
        }
Ejemplo n.º 3
0
        public override void Read(OsiReader reader)
        {
            base.Read(reader);
            Value1Index = reader.ReadSByte();
            Value2Index = reader.ReadSByte();

            Value1 = new Value();
            Value1.Read(reader);

            Value2 = new Value();
            Value2.Read(reader);

            RelOp = (RelOpType)reader.ReadInt32();
        }
 /// <summary>
 /// Parse the SizeRestriction structure.
 /// </summary>
 /// <param name="s">A stream containing the SizeRestriction structure</param>
 public override void Parse(Stream s)
 {
     base.Parse(s);
     this.RestrictType = (RestrictTypeEnum)ReadByte();
     this.RelOp = (RelOpType)ReadByte();
     this.PropTag = ReadUint();
     this.Size = ReadUint();
 }
 /// <summary>
 /// Parse the PropertyRestriction structure.
 /// </summary>
 /// <param name="s">A stream containing the PropertyRestriction structure</param>
 public override void Parse(Stream s)
 {
     base.Parse(s);
     this.RestrictType = (RestrictTypeEnum)ReadByte();
     this.RelOp = (RelOpType)ReadByte();
     this.PropTag = ReadUint();
     this.TaggedValue = new TaggedPropertyValue();
     this.TaggedValue.Parse(s);
 }
Ejemplo n.º 6
0
 private RelOpType MakeOperator(RelOpType op) => op;
Ejemplo n.º 7
0
 private static ExplainPlanRow AddExplainPlanRow(ICollection <ExplainPlanRow> rows, DataTable table, RelOpType relOp)
 {
     return(AddExplainPlanRow(rows, table, new object[]
     {
         relOp.PhysicalOp.ToString(), relOp.LogicalOp.ToString(), string.Empty,
         relOp.EstimateRows, relOp.EstimateIO,
         relOp.EstimateCPU,
         relOp.AvgRowSize, relOp.EstimatedTotalSubtreeCost
     }));
 }
Ejemplo n.º 8
0
 private ASTOperator MakeOperator(RelOpType op) => new ASTOperator()
 {
     Op = op
 };