Function | Description |
RB_BUILD | Converts an integer array into a roaring bitmap. |
RB_TO_ARRAY | Converts a roaring bitmap into an integer array and sorts elements in the array in ascending order. |
RB_CARDINALITY | Calculates the cardinality of a roaring bitmap. |
RB_AND | Calculates the intersection of two roaring bitmaps. Note You can also use the rb_and_null2empty function to calculate the intersection of two roaring bitmaps. The function is used in the same manner as the RB_AND function. |
RB_OR | Calculates the union of two roaring bitmaps. Note You can also use the rb_or_null2empty function to calculate the union of two roaring bitmaps. The function is used in the same manner as the RB_OR function. |
RB_XOR | Calculates the result of the XOR operation on two roaring bitmaps. Note You can also use the rb_xor_null2empty function to calculate the result of the XOR operation on two roaring bitmaps. The function is used in the same manner as the RB_XOR function. |
RB_ANDNOT | Calculates the complement of two roaring bitmaps. Note You can also use the rb_andnot_null2empty function to calculate the complement of two roaring bitmaps. The function is used in the same manner as the RB_ANDNOT function. |
RB_AND_CARDINALITY | Calculates the cardinality of the intersection of two roaring bitmaps. Note You can also use the rb_and_null2empty_cardinality function to calculate the cardinality of the intersection of two roaring bitmaps. The function is used in the same manner as the RB_AND_CARDINALITY function. |
RB_OR_CARDINALITY | Calculates the cardinality of the union of two roaring bitmaps. Note You can also use the rb_or_null2empty_cardinality function to calculate the cardinality of the union of two roaring bitmaps. The function is used in the same manner as the RB_OR_CARDINALITY function. |
RB_XOR_CARDINALITY | Calculates the cardinality of the result of the XOR operation on two roaring bitmaps. Note You can also use the rb_xor_null2empty_cardinality function to calculate the cardinality of the result of the XOR operation on two roaring bitmaps. The function is used in the same manner as the RB_XOR_CARDINALITY function. |
RB_ANDNOT_CARDINALITY | Calculates the cardinality of the complement of two roaring bitmaps. Note You can also use the rb_andnot_null2empty_cardinality function to calculate the cardinality of the complement of two roaring bitmaps. The function is used in the same manner as the RB_ANDNOT_CARDINALITY function. |
RB_EQUAL | Determines whether two roaring bitmaps are equal. |
RB_NOT_EQUAL | Determines whether two roaring bitmaps are not equal. |
RB_CONTAINS | Determines whether the first roaring bitmap contains the second roaring bitmap. |
RB_INTERSECT | Determines whether two roaring bitmaps intersect. |
RB_IS_EMPTY | Determines whether a roaring bitmap is empty. |
RB_MAXIMUM | Obtains the maximum value in a roaring bitmap. |
RB_MINIMUM | Obtains the minimum value in a roaring bitmap. |
RB_RANGE | Obtains a new collection of roaring bitmaps in the [start, end) range. |
RB_RANGE_CARDINALITY | Obtains the cardinality of the new collection of roaring bitmaps in the [start, end) range. |
RB_FILL | Obtains a new collection of roaring bitmaps after integers in the [start, end) range are inserted into roaring bitmaps. |
RB_CLEAR | Obtains a new collection of roaring bitmaps after integers in the [start, end) range are deleted from roaring bitmaps. |
RB_SERIALIZE | Serializes values of the RoaringBitmap type into the BINARY type. |
RB_DESERIALIZE | Deserializes values of the BINARY type into the RoaringBitmap64 type. |
RB_DESERIALIZE_32 | Deserializes values of the BINARY type into the RoaringBitmap32 type. |