MetricsHub
MetricsHub Community Connectors 1.0.06
-
Home
- Connector Design Guide Computes 22
and
The and
compute allows make a bitwise and
on the values of a column.
The value
can be a number, or a reference to another column of the same table, using the ‘$’ character followed by the column number.
connector:
# ...
pre: # <object>
<sourceKey>: # <source-object>
monitors:
<monitorType>: # <object>
<job>: # <object>
sources: # <object>
<sourceKey>: # <source-object>
computes: # <compute-object-array>
- type: and
column: # <number>
value: # <string>
Example
In this example, we will remove the high level bits of the column 1 of our source using a bitwise and
with the value 1023.
- type: and
column: 1
value: 1023
Search Results for {{siteSearch | truncate:'50'}}
{{resultArray.length}}
No results.