@Override
  public HiveVarcharWritable getWritableConstantValue() {
    // TODO: enforce max length
    return value;
  }
A WritableConstantHiveVarcharObjectInspector is a WritableHiveVarcharObjectInspector
that implements ConstantObjectInspector.
serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/primitive/WritableConstantHiveVarcharObjectInspector.java