private Type() { this.name = this.name().toLowerCase(Locale.ENGLISH); } public String getName() { return name; }
private Type() { this.name = this.name().toLowerCase(Locale.ENGLISH); } public String getName() { return name; }
private void parseField(Schema.Field field, List<SchemaFieldInfo> schemaFieldInfos, Set<String> visitedRecords) { Schema schema = field.schema(); Schema.Type type = schema.getType(); String name = field.name(); LOG.debug("Visiting field: [{}]", field); String namespace = null; try { namespace = schema.getNamespace(); } catch (Exception e) { //ignore. } schemaFieldInfos.add(new SchemaFieldInfo(namespace, name, type.name())); // todo check whether fields should be mapped to the root schema. parseSchema(schema, schemaFieldInfos, visitedRecords); }
LOG.warn("Type: " + type.name() + " not considered for field: " + field.name() + ". Please report this to dev@gora.apache.org");
LOG.warn("Type: " + type.name() + " not supported for field: " + field.name());
break; default: throw new AssertionError(fieldSchema.getType().name());
private Type() { this.name = this.name().toLowerCase(); } };
private Type() { this.name = this.name().toLowerCase(); } };
private void parseField(Schema.Field field, List<SchemaFieldInfo> schemaFieldInfos, Set<String> visitedRecords) { Schema schema = field.schema(); Schema.Type type = schema.getType(); String name = field.name(); LOG.debug("Visiting field: [{}]", field); String namespace = null; try { namespace = schema.getNamespace(); } catch (Exception e) { //ignore. } schemaFieldInfos.add(new SchemaFieldInfo(namespace, name, type.name())); // todo check whether fields should be mapped to the root schema. parseSchema(schema, schemaFieldInfos, visitedRecords); }
private Type() { this.name = this.name().toLowerCase(Locale.ENGLISH); } public String getName() { return name; }
private Type() { this.name = this.name().toLowerCase(); } public String getName() { return name; }