protected AbstractMatcher(bool allowNull) { if (IsNullableType(typeof(T))) { m_isNullable = allowNull ? Nulls.Allowed : Nulls.NotAllowed; } else { m_isNullable = Nulls.NonNullableType; } }
public DescOrdering Desc(Nulls n = Nulls.Unspecified) => new DescOrdering(this, n);
public AscOrdering Asc(Nulls n = Nulls.Unspecified) => new AscOrdering(this, n);
public override void Write(ProtocolFormatter formatter, int rows) { Debug.Assert(Rows == rows, "Row count mismatch!"); new SimpleColumnType <byte>(Nulls.Select(x => x ? (byte)1 : (byte)0).ToArray()).Write(formatter, rows); InnerType.Write(formatter, rows); }
public DescOrdering(IPart part, Nulls nulls) { Part = part; Nulls = nulls; }