public boolean containsField(String keyName) {
    return fields.stream().anyMatch(x -> x.getFieldName().equals(keyName));
  }
Representation of SQL schema which is used by Samza SQL.
samza-api/src/main/java/org/apache/samza/sql/schema/SqlSchema.java