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(); }
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(); }
/// <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); }
private RelOpType MakeOperator(RelOpType op) => op;
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 })); }
private ASTOperator MakeOperator(RelOpType op) => new ASTOperator() { Op = op };