public Optional<Object> getField(String name) {
    int index = fieldNames.indexOf(name);
    if (index != -1) {
      return Optional.ofNullable(fieldValues.get(index));
    }

    return Optional.empty();
  }
Get the value of the field corresponding to the field name.
@param name Name of the field.
@return returns the value of the field.
samza-api/src/main/java/org/apache/samza/sql/SamzaSqlRelRecord.java