/** * Checks if there are any columns at a row specified by key in a specific * super column * * @param key * @param superColumnName * the column name serializer of the child columns * @return true if columns exist */ public boolean isSubColumnsExist(K key, SN superColumnName) { return countSubColumns(key, superColumnName) > 0; }
/** * * @param key * @param superColumnName * @return the number of child columns in a specified super column */ @SuppressWarnings("unchecked") public int countSubColumns(K key, SN superColumnName) { return countSubColumns(key, superColumnName, (N) ALL_COLUMNS_START, (N) ALL_COLUMNS_END, ALL_COLUMNS_COUNT); }
/** * * @param key * @param superColumnName * @return the number of child columns in a specified super column */ @SuppressWarnings("unchecked") public int countSubColumns(K key, SN superColumnName) { return countSubColumns(key, superColumnName, (N) ALL_COLUMNS_START, (N) ALL_COLUMNS_END, ALL_COLUMNS_COUNT); }
/** * Checks if there are any columns at a row specified by key in a specific * super column * * @param key * @param superColumnName * the column name serializer of the child columns * @return true if columns exist */ public boolean isSubColumnsExist(K key, SN superColumnName) { return countSubColumns(key, superColumnName) > 0; }
/** * Checks if there are any columns at a row specified by key in a specific * super column * * @param key * @param superColumnName * the column name serializer of the child columns * @return true if columns exist */ public boolean isSubColumnsExist(K key, SN superColumnName) { return countSubColumns(key, superColumnName) > 0; }
/** * * @param key * @param superColumnName * @return the number of child columns in a specified super column */ @SuppressWarnings("unchecked") public int countSubColumns(K key, SN superColumnName) { return countSubColumns(key, superColumnName, (N) ALL_COLUMNS_START, (N) ALL_COLUMNS_END, ALL_COLUMNS_COUNT); }