Esempio n. 1
0
 @Override
 public boolean hasField(SchemaId fieldId) {
   QName qname = mapping.get(fieldId);
   if (qname == null) {
     return false;
   }
   // Normally, we will only have a mapping for fields which are actually in the record,
   // but just to be sure:
   return record.hasField(qname);
 }
Esempio n. 2
0
 @Override
 public boolean hasField(String fieldName) throws RecordException {
   return record.hasField(fieldName);
 }
Esempio n. 3
0
 @Override
 public boolean hasField(QName fieldName) {
   return record.hasField(fieldName);
 }