Q:

How to get Null values of records in aerospike

I'm working with aerospike. Using AQL, I inserted some data. I want to get null values of records with particular fields in aerospike. I'm tagging picture in that picture one record does not have a name its empty space

A:

Aeropsike is schemaless - each record is self describing. Any bin that is non-null is part of the record. Any bin that is updated to null actually gets deleted from the record. So, think in terms of units of record instead of a table with columns.  You can query for a specific bin from a record and if not found, Aeropsike will return a null.  Here is the java API:
public final Record get(Policy policy,
         Key key,
         String... binNames)
                 throws AerospikeException
Read record header and bins for specified key. The policy can be used to specify timeouts.
Specified by:
get in interface IAerospikeClient
Parameters:
policy - generic configuration parameters, pass in null for defaults
key - unique record identifier
binNames - bins to retrieve
Returns:
if found, return record instance. If not found, return null.
Throws:
AerospikeException - if read fails

