# CassFunctionMeta

### struct CassFunctionMeta

### Public Functions

### void cass_function_meta_name(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, const char \*\*name, size_t \*name_length)

Gets the name of the function.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **function_meta** – **[in]** 
  * **name** – **[out]** 
  * **name_length** – **[out]** 

### void cass_function_meta_full_name(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, const char \*\*full_name, size_t \*full_name_length)

Gets the full name of the function. The full name includes the function’s name and the function’s signature: “name(type1 type2.. typeN)”.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **function_meta** – **[in]** 
  * **full_name** – **[out]** 
  * **full_name_length** – **[out]** 

### void cass_function_meta_body(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, const char \*\*body, size_t \*body_length)

Gets the body of the function.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **function_meta** – **[in]** 
  * **body** – **[out]** 
  * **body_length** – **[out]** 

### void cass_function_meta_language(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, const char \*\*language, size_t \*language_length)

Gets the language of the function.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **function_meta** – **[in]** 
  * **language** – **[out]** 
  * **language_length** – **[out]** 

### [cass_bool_t](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/group.BasicTypes.md#_CPPv411cass_bool_t) cass_function_meta_called_on_null_input(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta)

Gets whether a function is called on “null”.

**Warning:** This function is not yet implemented.

* **Parameters:**
  **function_meta** – **[in]** 
* **Returns:**
  cass_true if a function is called on null, otherwise cass_false. 

### size_t cass_function_meta_argument_count(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta)

Gets the number of arguments this function takes.

**Warning:** This function is not yet implemented.

* **Parameters:**
  **function_meta** – **[in]** 
* **Returns:**
  The number of arguments. 

### [CassError](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/group.CassError.md#_CPPv49CassError) cass_function_meta_argument(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, size_t index, const char \*\*name, size_t \*name_length, const [CassDataType](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/struct.CassDataType.md#_CPPv412CassDataType) \*\*type)

Gets the function’s argument name and type for the provided index.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **function_meta** – **[in]** 
  * **index** – **[in]** 
  * **name** – **[out]** 
  * **name_length** – **[out]** 
  * **type** – **[out]** 
* **Returns:**
  CASS_OK if successful, otherwise an error occurred 

### const [CassDataType](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/struct.CassDataType.md#_CPPv412CassDataType) \*cass_function_meta_argument_type_by_name(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, const char \*name)

Gets the function’s argument and type for the provided name.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **function_meta** – **[in]** 
  * **name** – **[in]** 
* **Returns:**
  A data type. NULL if the argument does not exist. 

### const [CassDataType](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/struct.CassDataType.md#_CPPv412CassDataType) \*cass_function_meta_argument_type_by_name_n(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, const char \*name, size_t name_length)

Same as [cass_function_meta_argument_type_by_name()](#struct_cass_function_meta_1a720c72ac3a4837588faaa32d3da028a1), but with lengths for string parameters.

**Warning:** This function is not yet implemented.

#### SEE ALSO
[cass_function_meta_argument_type_by_name()](#struct_cass_function_meta_1a720c72ac3a4837588faaa32d3da028a1)

* **Parameters:**
  * **function_meta** – **[in]** 
  * **name** – **[in]** 
  * **name_length** – **[in]** 
* **Returns:**
  same as [cass_function_meta_argument_type_by_name()](#struct_cass_function_meta_1a720c72ac3a4837588faaa32d3da028a1)

### const [CassDataType](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/struct.CassDataType.md#_CPPv412CassDataType) \*cass_function_meta_return_type(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta)

Gets the return type of the function.

**Warning:** This function is not yet implemented.

* **Parameters:**
  **function_meta** – **[in]** 
* **Returns:**
  The data type returned by the function. 

### const [CassValue](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/struct.CassValue.md#_CPPv49CassValue) \*cass_function_meta_field_by_name(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, const char \*name)

Gets a metadata field for the provided name. Metadata fields allow direct access to the column data found in the underlying “functions” metadata table.

**Warning:** This function is not yet implemented.

* **Parameters:**
  * **function_meta** – **[in]** 
  * **name** – **[in]** 
* **Returns:**
  A metadata field value. NULL if the field does not exist. 

### const [CassValue](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/struct.CassValue.md#_CPPv49CassValue) \*cass_function_meta_field_by_name_n(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta, const char \*name, size_t name_length)

Same as [cass_function_meta_field_by_name()](#struct_cass_function_meta_1ad9ff0f8b43f65e0dea7b886a809bd669), but with lengths for string parameters.

**Warning:** This function is not yet implemented.

#### SEE ALSO
[cass_function_meta_field_by_name()](#struct_cass_function_meta_1ad9ff0f8b43f65e0dea7b886a809bd669)

* **Parameters:**
  * **function_meta** – **[in]** 
  * **name** – **[in]** 
  * **name_length** – **[in]** 
* **Returns:**
  same as [cass_function_meta_field_by_name()](#struct_cass_function_meta_1ad9ff0f8b43f65e0dea7b886a809bd669)

### [CassIterator](https://cpp-rs-driver.docs.scylladb.com/v1.0.1/api/struct.CassIterator.md#_CPPv412CassIterator) \*cass_iterator_fields_from_function_meta(const [CassFunctionMeta](#_CPPv416CassFunctionMeta) \*function_meta)

Creates a new fields iterator for the specified function metadata. Metadata fields allow direct access to the column data found in the underlying “functions” metadata table. This can be used to iterate those metadata field entries.

**Warning:** This function is not yet implemented.

#### SEE ALSO
cass_iterator_get_meta_field() 

#### SEE ALSO
cass_iterator_free() 

* **Parameters:**
  **function_meta** – **[in]** 
* **Returns:**
  A new iterator that must be freed.
