private int vectorCharacterCount(BytesColumnVector vector, int i) {
    return StringExpr.characterCount(vector.vector[i], vector.start[i], vector.length[i]);
  }
Test vectorized expression and filter evaluation for strings.
ql/src/test/org/apache/hadoop/hive/ql/exec/vector/expressions/TestVectorStringExpressions.java