예제 #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);
 }
예제 #2
0
 @Override
 public boolean hasField(String fieldName) throws RecordException {
   return record.hasField(fieldName);
 }
예제 #3
0
 @Override
 public boolean hasField(QName fieldName) {
   return record.hasField(fieldName);
 }