// check input object's length, if it doesn't match
// then output new writable with correct params.
if (o == null) {
return null;
}
HiveVarcharWritable writable = ((HiveVarcharWritable)o);
if (doesWritableMatchTypeParams((HiveVarcharWritable)o)) {
return writable;
}
return getWritableWithParams(writable);