This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Fill Values for Missing Data from Apache Cassandra Database

When you import data from a Cassandra® database into MATLAB® using the partitionRead or executecql functions, these functions convert the fill values for missing data from the Cassandra column to the corresponding MATLAB values. This table identifies the data types in a Cassandra database column (Cassandra Query Language (CQL) data type) and the corresponding fill value for missing data in the MATLAB table.

CQL Data TypeMATLAB Fill Value

ascii

<missing>

bigint

0

blob

[]

boolean

false

counter

0

date

NaT

decimal

[]

double

NaN

float

NaN

inet

<missing>

int

0

list<type>

[]

map<keyType,valueType>

0x2 table (empty table)

set<type>

[]

smallint

0

text

<missing>

time

NaN

timestamp

NaT

timeuuid

<missing>

tinyint

0

tuple<Type1,...,TypeN>

1xn table, where the missing value in each variable is the MATLAB fill value for the corresponding CQL data type

user-defined type (UDT)

1xn table, where the missing value in each variable is the MATLAB fill value for the corresponding CQL data type

uuid

<missing>

varchar

<missing>

varint

[]

See Also

| |

Related Topics

External Websites