Enum OperatorClassItem
pub enum OperatorClassItem {
Operator {
strategy_number: u64,
operator_name: ObjectName,
op_types: Option<OperatorArgTypes>,
purpose: Option<OperatorPurpose>,
},
Function {
support_number: u64,
op_types: Option<Vec<DataType>>,
function_name: ObjectName,
argument_types: Vec<DataType>,
},
Storage {
storage_type: DataType,
},
}Expand description
An item in a CREATE OPERATOR CLASS statement
OPERATOR clause describing a specific operator implementation.
Fields
Strategy number identifying the operator position in the opclass.
The operator name referenced by this clause.
Optional operator argument types.
Optional purpose such as FOR SEARCH or FOR ORDER BY.
FUNCTION clause describing a support function for the operator class.
Fields
Support function number for this entry.
Optional function argument types for the operator class.
The function name implementing the support function.
Function argument types for the support function.
STORAGE clause specifying the storage type.