public string ToString(IConnectorSession session) { StringBuilder SB = new StringBuilder("{"); SB.Append("type=").Append(this.Type.ToString()); SB.Append(", value="); if (this.IsLowerUnbounded()) { SB.Append("<min>"); } else if (this.IsUpperUnbounded()) { SB.Append("<max>"); } else { SB.Append(this.GetPrintableValue(session)); } SB.Append(", bound=").Append(this.Bound.ToString()); SB.Append("}"); return(SB.ToString()); }
public object GetPrintableValue(IConnectorSession session) { if (this.ValueBlock == null) { throw new InvalidOperationException("No value to get."); } return(this.Type.GetObjectValue(session, this.ValueBlock, 0)); }
public string ToString(IConnectorSession session) { StringBuilder Buffer = new StringBuilder("TupleDomain:"); if (this.IsAll()) { Buffer.Append("ALL"); } else if (this.IsNone()) { Buffer.Append("NONE"); } else { Buffer.Append(this.Domains.ToDictionary(x => x.Key, x => x.Value.ToString(session))); } return(Buffer.ToString()); }
public string ToString(IConnectorSession session) { StringBuilder SB = new StringBuilder(); if (this.IsSingleValue()) { SB.Append("[").Append(this.Low.GetPrintableValue(session)).Append("]"); } else { SB.Append(this.Low.Bound == Bound.EXACTLY ? "[" : "("); SB.Append(this.Low.IsLowerUnbounded() ? "<min>" : this.Low.GetPrintableValue(session)); SB.Append(", "); SB.Append(this.High.IsUpperUnbounded() ? "<max>" : this.High.GetPrintableValue(session)); SB.Append(this.High.Bound == Bound.EXACTLY ? "]" : ")"); } return(SB.ToString()); }
public object GetObjectValue(IConnectorSession session, IBlock block, int position) { throw new NotImplementedException(); }
public string ToString(IConnectorSession session) { return($"[{String.Join(", ", this.LowIndexedRanges.Values.Select(x => x.ToString(session)))}]"); }
public string ToString(IConnectorSession session) { return($"[{(this._All ? "ALL" : "NONE")}]"); }
public string ToString(IConnectorSession session) { return($"[ {(this.NullAllowed ? "NULL, " : "")}{this.Values.ToString(session)} ]"); }