Hi,

Is there a way to return null in thrift server ?

I have a string data type , Which can have three possible values:

   1. Empty String
   2. Null String
   3. Some string value

I want to differentiate b/w Empty String and Null String.

Currently I have done like:

MyDataType{

string value;

bool is_null;

}

I set's is_null as true if value is null. Is there any better way of doing
this ?
regards
Vivek Goel

Reply via email to