BIT COUNT statement.
*/
-final class BitCount extends AbstractFieldBIT_COUNT function.
+ *
+ * Count the number of bits set in a number
+ *
+ * @param number is wrapped as {@link #val(Object)}.
+ */
+ @NotNull
+ @Support({ CUBRID, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTE })
+ public static Field
+ * Count the number of bits set in a number
+ */
+ @NotNull
+ @Support({ CUBRID, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTE })
+ public static Field
@@ -22270,41 +22294,6 @@ public class DSL {
// XXX Bitwise operations
// ------------------------------------------------------------------------
- /**
- * The MySQL
- * This function is emulated in most other databases like this (for a
- * TINYINT field):
- * More efficient algorithms are very welcome
- */
- @NotNull
- @Support({ CUBRID, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTE })
- public static FieldBIT_COUNT function.
+ * CEIL function.
* BIT_COUNT(field) function, counting the number of
- * bits that are set in this number.
- *
- * @see #bitCount(Field)
- */
- @NotNull
- @Support({ CUBRID, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTE })
- public static FieldBIT_COUNT(field) function, counting the number of
- * bits that are set in this number.
- *
- *
- * ([field] & 1) +
- * ([field] & 2) >> 1 +
- * ([field] & 4) >> 2 +
- * ([field] & 8) >> 3 +
- * ([field] & 16) >> 4 +
- * ...
- * ([field] & 128) >> 7
- *