Exemple #1
0
 /// <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));
 }
Exemple #2
0
 /// <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));
 }