bool WriteSlot(const SlotDescriptor *slot_desc, Tuple *tuple, const char *data, int len, bool copy_string, bool need_escape, MemPool *pool)
void UnescapeString(const char *src, char *dest, int *len, int64_t maxlen=-1)
TextConverter(char escape_char, const std::string &null_col_val, bool check_null=true)
bool check_null_
Indicates whether we should check for null_col_val_ and set slots to NULL.
std::string null_col_val_
Special string to indicate NULL column values.
static llvm::Function * CodegenWriteSlot(LlvmCodeGen *codegen, TupleDescriptor *tuple_desc, SlotDescriptor *slot_desc, const char *null_col_val, int len, bool check_null)