/// <summary> /// Determines whether the descriptor can describe a row. /// </summary> /// <param name="descriptor">The descriptor.</param> public static bool CanDescribeRow(this HBaseDescriptor descriptor) { return(descriptor.CanDescribeTable() && !string.IsNullOrEmpty(descriptor.Row)); }
private static StringBuilder BuildFromDescriptor(HBaseDescriptor identifier) { return new StringBuilder(identifier.Table) .AppendFormat(_appendSegmentFormat, string.IsNullOrEmpty(identifier.Row) ? _wildCard : identifier.Row); }
/// <summary> /// Determines whether the descriptor can describe a table. /// </summary> /// <param name="descriptor">The descriptor.</param> public static bool CanDescribeTable(this HBaseDescriptor descriptor) { return(descriptor != null && !string.IsNullOrEmpty(descriptor.Table)); }