A user defined function, as created by ``CREATE FUNCTION`` statements. User-defined functions were introduced in Cassandra 2.2 .. versionadded:: 2.6.0
| 1052 | |
| 1053 | |
| 1054 | class Function(object): |
| 1055 | """ |
| 1056 | A user defined function, as created by ``CREATE FUNCTION`` statements. |
| 1057 | |
| 1058 | User-defined functions were introduced in Cassandra 2.2 |
| 1059 | |
| 1060 | .. versionadded:: 2.6.0 |
| 1061 | """ |
| 1062 | |
| 1063 | keyspace = None |
| 1064 | """ |
| 1065 | The string name of the keyspace in which this function is defined |
| 1066 | """ |
| 1067 | |
| 1068 | name = None |
| 1069 | """ |
| 1070 | The name of this function |
| 1071 | """ |
| 1072 | |
| 1073 | argument_types = None |
| 1074 | """ |
| 1075 | An ordered list of the types for each argument to the function |
| 1076 | """ |
| 1077 | |
| 1078 | argument_names = None |
| 1079 | """ |
| 1080 | An ordered list of the names of each argument to the function |
| 1081 | """ |
| 1082 | |
| 1083 | return_type = None |
| 1084 | """ |
| 1085 | Return type of the function |
| 1086 | """ |
| 1087 | |
| 1088 | language = None |
| 1089 | """ |
| 1090 | Language of the function body |
| 1091 | """ |
| 1092 | |
| 1093 | body = None |
| 1094 | """ |
| 1095 | Function body string |
| 1096 | """ |
| 1097 | |
| 1098 | called_on_null_input = None |
| 1099 | """ |
| 1100 | Flag indicating whether this function should be called for rows with null values |
| 1101 | (convenience function to avoid handling nulls explicitly if the result will just be null) |
| 1102 | """ |
| 1103 | |
| 1104 | deterministic = None |
| 1105 | """ |
| 1106 | Flag indicating if this function is guaranteed to produce the same result |
| 1107 | for a particular input. This is available only for DSE >=6.0. |
| 1108 | """ |
| 1109 | |
| 1110 | monotonic = None |
| 1111 | """ |
no outgoing calls