/** * Final step in configuring this field, finalizing name, namespace, alias, * and order. Sets the field's type to the schema by name reference. * <p/> * The name must correspond with a named schema that has already been * created in the context of this builder. The name may be a fully qualified * name, or a short name. If it is a full name, the namespace is ignored. If * it is a short name, the namespace provided is used. If the namespace * provided is null, the namespace context of this builder will be used. * <p/> * The name and namespace context rules are the same as the Avro schema JSON * specification. */ public GenericDefault<R> type(String name, String namespace) { Schema schema = names().get(name, namespace); return type(schema); }
/** * Final step in configuring this field, finalizing name, namespace, alias, * and order. Sets the field's type to the schema by name reference. * <p/> * The name must correspond with a named schema that has already been * created in the context of this builder. The name may be a fully qualified * name, or a short name. If it is a full name, the namespace is ignored. If * it is a short name, the namespace provided is used. If the namespace * provided is null, the namespace context of this builder will be used. * <p/> * The name and namespace context rules are the same as the Avro schema JSON * specification. */ public GenericDefault<R> type(String name, String namespace) { Schema schema = names().get(name, namespace); return type(schema); }
private UnionFieldTypeBuilder(FieldBuilder<R> bldr) { this.bldr = bldr; this.names = bldr.names(); }
private UnionFieldTypeBuilder(FieldBuilder<R> bldr) { this.bldr = bldr; this.names = bldr.names(); }
protected BaseFieldTypeBuilder(FieldBuilder<R> bldr, CompletionWrapper wrapper) { this.bldr = bldr; this.names = bldr.names(); this.wrapper = wrapper; }
protected BaseFieldTypeBuilder(FieldBuilder<R> bldr, CompletionWrapper wrapper) { this.bldr = bldr; this.names = bldr.names(); this.wrapper = wrapper; }
/** * Final step in configuring this field, finalizing name, namespace, alias, * and order. Sets the field's type to the schema by name reference. * <p/> * The name must correspond with a named schema that has already been * created in the context of this builder. The name may be a fully qualified * name, or a short name. If it is a full name, the namespace is ignored. If * it is a short name, the namespace provided is used. If the namespace * provided is null, the namespace context of this builder will be used. * <p/> * The name and namespace context rules are the same as the Avro schema JSON * specification. */ public GenericDefault<R> type(String name, String namespace) { Schema schema = names().get(name, namespace); return type(schema); }
/** * Final step in configuring this field, finalizing name, namespace, alias, * and order. Sets the field's type to the schema by name reference. * <p/> * The name must correspond with a named schema that has already been * created in the context of this builder. The name may be a fully qualified * name, or a short name. If it is a full name, the namespace is ignored. If * it is a short name, the namespace provided is used. If the namespace * provided is null, the namespace context of this builder will be used. * <p/> * The name and namespace context rules are the same as the Avro schema JSON * specification. */ public GenericDefault<R> type(String name, String namespace) { Schema schema = names().get(name, namespace); return type(schema); }
private UnionFieldTypeBuilder(FieldBuilder<R> bldr) { this.bldr = bldr; this.names = bldr.names(); }
protected BaseFieldTypeBuilder(FieldBuilder<R> bldr, CompletionWrapper wrapper) { this.bldr = bldr; this.names = bldr.names(); this.wrapper = wrapper; }
protected BaseFieldTypeBuilder(FieldBuilder<R> bldr, CompletionWrapper wrapper) { this.bldr = bldr; this.names = bldr.names(); this.wrapper = wrapper; }
private UnionFieldTypeBuilder(FieldBuilder<R> bldr) { this.bldr = bldr; this.names = bldr.names(); }