test_class.declarator: NAME = "name"
test_class.modifier: private static final
test_class.original_string: private static final String NAME = "name";
test_class.type: String
test_class.var_name: NAME
test_class.declarator: VERSION = 2
test_class.modifier: private static final
test_class.original_string: private static final Integer VERSION = 2;
test_class.type: Integer
test_class.var_name: VERSION
test_class.declarator: DOC = "doc"
test_class.modifier: private static final
test_class.original_string: private static final String DOC = "doc";
test_class.type: String
test_class.var_name: DOC
test_class.declarator: NO_PARAMS = null
test_class.modifier: private static final
test_class.original_string: private static final Map<String, String> NO_PARAMS = null;
test_class.type: Map<String, String>
test_class.var_name: NO_PARAMS
test_class.file: connect/api/src/test/java/org/apache/kafka/connect/data/SchemaBuilderTest.java
test_class.identifier: SchemaBuilderTest
test_case.body: @Test
      public void testParameters() {
          Map<String, String> expectedParameters = new HashMap<>();
          expectedParameters.put("foo", "val");
          expectedParameters.put("bar", "baz");
  
          Schema schema = SchemaBuilder.string().parameter("foo", "val").parameter("bar", "baz").build();
          assertTypeAndDefault(schema, Schema.Type.STRING, false, null);
          assertMetadata(schema, null, null, null, expectedParameters);
  
          schema = SchemaBuilder.string().parameters(expectedParameters).build();
          assertTypeAndDefault(schema, Schema.Type.STRING, false, null);
          assertMetadata(schema, null, null, null, expectedParameters);
      }
test_case.class_method_signature: SchemaBuilderTest.testParameters()
test_case.full_signature: @Test public void testParameters()
test_case.identifier: testParameters
test_case.invocations: put put build parameter parameter string assertTypeAndDefault assertMetadata build parameters string assertTypeAndDefault assertMetadata
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testParameters()
focal_class.declarator: TYPE_FIELD = "type"
focal_class.modifier: private static final
focal_class.original_string: private static final String TYPE_FIELD = "type";
focal_class.type: String
focal_class.var_name: TYPE_FIELD
focal_class.declarator: OPTIONAL_FIELD = "optional"
focal_class.modifier: private static final
focal_class.original_string: private static final String OPTIONAL_FIELD = "optional";
focal_class.type: String
focal_class.var_name: OPTIONAL_FIELD
focal_class.declarator: DEFAULT_FIELD = "default"
focal_class.modifier: private static final
focal_class.original_string: private static final String DEFAULT_FIELD = "default";
focal_class.type: String
focal_class.var_name: DEFAULT_FIELD
focal_class.declarator: NAME_FIELD = "name"
focal_class.modifier: private static final
focal_class.original_string: private static final String NAME_FIELD = "name";
focal_class.type: String
focal_class.var_name: NAME_FIELD
focal_class.declarator: VERSION_FIELD = "version"
focal_class.modifier: private static final
focal_class.original_string: private static final String VERSION_FIELD = "version";
focal_class.type: String
focal_class.var_name: VERSION_FIELD
focal_class.declarator: DOC_FIELD = "doc"
focal_class.modifier: private static final
focal_class.original_string: private static final String DOC_FIELD = "doc";
focal_class.type: String
focal_class.var_name: DOC_FIELD
focal_class.declarator: type
focal_class.modifier: private final
focal_class.original_string: private final Type type;
focal_class.type: Type
focal_class.var_name: type
focal_class.declarator: optional = null
focal_class.modifier: private
focal_class.original_string: private Boolean optional = null;
focal_class.type: Boolean
focal_class.var_name: optional
focal_class.declarator: defaultValue = null
focal_class.modifier: private
focal_class.original_string: private Object defaultValue = null;
focal_class.type: Object
focal_class.var_name: defaultValue
focal_class.declarator: fields = null
focal_class.modifier: private
focal_class.original_string: private List<Field> fields = null;
focal_class.type: List<Field>
focal_class.var_name: fields
focal_class.declarator: keySchema = null
focal_class.modifier: private
focal_class.original_string: private Schema keySchema = null;
focal_class.type: Schema
focal_class.var_name: keySchema
focal_class.declarator: valueSchema = null
focal_class.modifier: private
focal_class.original_string: private Schema valueSchema = null;
focal_class.type: Schema
focal_class.var_name: valueSchema
focal_class.declarator: name
focal_class.modifier: private
focal_class.original_string: private String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: version
focal_class.modifier: private
focal_class.original_string: private Integer version;
focal_class.type: Integer
focal_class.var_name: version
focal_class.declarator: doc
focal_class.modifier: private
focal_class.original_string: private String doc;
focal_class.type: String
focal_class.var_name: doc
focal_class.declarator: parameters
focal_class.modifier: private
focal_class.original_string: private Map<String, String> parameters;
focal_class.type: Map<String, String>
focal_class.var_name: parameters
focal_class.file: connect/api/src/main/java/org/apache/kafka/connect/data/SchemaBuilder.java
focal_class.identifier: SchemaBuilder
focal_class.interfaces: implements Schema
focal_class.class_method_signature: SchemaBuilder.SchemaBuilder(Type type)
focal_class.full_signature: private  SchemaBuilder(Type type)
focal_class.identifier: SchemaBuilder
focal_class.modifiers: private
focal_class.parameters: (Type type)
focal_class.signature:  SchemaBuilder(Type type)
focal_class.class_method_signature: SchemaBuilder.isOptional()
focal_class.full_signature: @Override public boolean isOptional()
focal_class.identifier: isOptional
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isOptional()
focal_class.class_method_signature: SchemaBuilder.optional()
focal_class.full_signature: public SchemaBuilder optional()
focal_class.identifier: optional
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder optional()
focal_class.class_method_signature: SchemaBuilder.required()
focal_class.full_signature: public SchemaBuilder required()
focal_class.identifier: required
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder required()
focal_class.class_method_signature: SchemaBuilder.defaultValue()
focal_class.full_signature: @Override public Object defaultValue()
focal_class.identifier: defaultValue
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object
focal_class.signature: Object defaultValue()
focal_class.class_method_signature: SchemaBuilder.defaultValue(Object value)
focal_class.full_signature: public SchemaBuilder defaultValue(Object value)
focal_class.identifier: defaultValue
focal_class.modifiers: public
focal_class.parameters: (Object value)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder defaultValue(Object value)
focal_class.class_method_signature: SchemaBuilder.name()
focal_class.full_signature: @Override public String name()
focal_class.identifier: name
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String name()
focal_class.class_method_signature: SchemaBuilder.name(String name)
focal_class.full_signature: public SchemaBuilder name(String name)
focal_class.identifier: name
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder name(String name)
focal_class.class_method_signature: SchemaBuilder.version()
focal_class.full_signature: @Override public Integer version()
focal_class.identifier: version
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Integer
focal_class.signature: Integer version()
focal_class.class_method_signature: SchemaBuilder.version(Integer version)
focal_class.full_signature: public SchemaBuilder version(Integer version)
focal_class.identifier: version
focal_class.modifiers: public
focal_class.parameters: (Integer version)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder version(Integer version)
focal_class.class_method_signature: SchemaBuilder.doc()
focal_class.full_signature: @Override public String doc()
focal_class.identifier: doc
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String doc()
focal_class.class_method_signature: SchemaBuilder.doc(String doc)
focal_class.full_signature: public SchemaBuilder doc(String doc)
focal_class.identifier: doc
focal_class.modifiers: public
focal_class.parameters: (String doc)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder doc(String doc)
focal_class.class_method_signature: SchemaBuilder.parameters()
focal_class.full_signature: @Override public Map<String, String> parameters()
focal_class.identifier: parameters
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> parameters()
focal_class.class_method_signature: SchemaBuilder.parameter(String propertyName, String propertyValue)
focal_class.full_signature: public SchemaBuilder parameter(String propertyName, String propertyValue)
focal_class.identifier: parameter
focal_class.modifiers: public
focal_class.parameters: (String propertyName, String propertyValue)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder parameter(String propertyName, String propertyValue)
focal_class.class_method_signature: SchemaBuilder.parameters(Map<String, String> props)
focal_class.full_signature: public SchemaBuilder parameters(Map<String, String> props)
focal_class.identifier: parameters
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> props)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder parameters(Map<String, String> props)
focal_class.class_method_signature: SchemaBuilder.type()
focal_class.full_signature: @Override public Type type()
focal_class.identifier: type
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Type
focal_class.signature: Type type()
focal_class.class_method_signature: SchemaBuilder.type(Type type)
focal_class.full_signature: public static SchemaBuilder type(Type type)
focal_class.identifier: type
focal_class.modifiers: public static
focal_class.parameters: (Type type)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder type(Type type)
focal_class.class_method_signature: SchemaBuilder.int8()
focal_class.full_signature: public static SchemaBuilder int8()
focal_class.identifier: int8
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder int8()
focal_class.class_method_signature: SchemaBuilder.int16()
focal_class.full_signature: public static SchemaBuilder int16()
focal_class.identifier: int16
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder int16()
focal_class.class_method_signature: SchemaBuilder.int32()
focal_class.full_signature: public static SchemaBuilder int32()
focal_class.identifier: int32
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder int32()
focal_class.class_method_signature: SchemaBuilder.int64()
focal_class.full_signature: public static SchemaBuilder int64()
focal_class.identifier: int64
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder int64()
focal_class.class_method_signature: SchemaBuilder.float32()
focal_class.full_signature: public static SchemaBuilder float32()
focal_class.identifier: float32
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder float32()
focal_class.class_method_signature: SchemaBuilder.float64()
focal_class.full_signature: public static SchemaBuilder float64()
focal_class.identifier: float64
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder float64()
focal_class.class_method_signature: SchemaBuilder.bool()
focal_class.full_signature: public static SchemaBuilder bool()
focal_class.identifier: bool
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder bool()
focal_class.class_method_signature: SchemaBuilder.string()
focal_class.full_signature: public static SchemaBuilder string()
focal_class.identifier: string
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder string()
focal_class.class_method_signature: SchemaBuilder.bytes()
focal_class.full_signature: public static SchemaBuilder bytes()
focal_class.identifier: bytes
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder bytes()
focal_class.class_method_signature: SchemaBuilder.struct()
focal_class.full_signature: public static SchemaBuilder struct()
focal_class.identifier: struct
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder struct()
focal_class.class_method_signature: SchemaBuilder.field(String fieldName, Schema fieldSchema)
focal_class.full_signature: public SchemaBuilder field(String fieldName, Schema fieldSchema)
focal_class.identifier: field
focal_class.modifiers: public
focal_class.parameters: (String fieldName, Schema fieldSchema)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder field(String fieldName, Schema fieldSchema)
focal_class.class_method_signature: SchemaBuilder.fields()
focal_class.full_signature: public List<Field> fields()
focal_class.identifier: fields
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Field>
focal_class.signature: List<Field> fields()
focal_class.class_method_signature: SchemaBuilder.field(String fieldName)
focal_class.full_signature: public Field field(String fieldName)
focal_class.identifier: field
focal_class.modifiers: public
focal_class.parameters: (String fieldName)
focal_class.return: Field
focal_class.signature: Field field(String fieldName)
focal_class.class_method_signature: SchemaBuilder.array(Schema valueSchema)
focal_class.full_signature: public static SchemaBuilder array(Schema valueSchema)
focal_class.identifier: array
focal_class.modifiers: public static
focal_class.parameters: (Schema valueSchema)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder array(Schema valueSchema)
focal_class.class_method_signature: SchemaBuilder.map(Schema keySchema, Schema valueSchema)
focal_class.full_signature: public static SchemaBuilder map(Schema keySchema, Schema valueSchema)
focal_class.identifier: map
focal_class.modifiers: public static
focal_class.parameters: (Schema keySchema, Schema valueSchema)
focal_class.return: SchemaBuilder
focal_class.signature: SchemaBuilder map(Schema keySchema, Schema valueSchema)
focal_class.class_method_signature: SchemaBuilder.keySchema()
focal_class.full_signature: @Override public Schema keySchema()
focal_class.identifier: keySchema
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Schema
focal_class.signature: Schema keySchema()
focal_class.class_method_signature: SchemaBuilder.valueSchema()
focal_class.full_signature: @Override public Schema valueSchema()
focal_class.identifier: valueSchema
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Schema
focal_class.signature: Schema valueSchema()
focal_class.class_method_signature: SchemaBuilder.build()
focal_class.full_signature: public Schema build()
focal_class.identifier: build
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Schema
focal_class.signature: Schema build()
focal_class.class_method_signature: SchemaBuilder.schema()
focal_class.full_signature: @Override public Schema schema()
focal_class.identifier: schema
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Schema
focal_class.signature: Schema schema()
focal_class.class_method_signature: SchemaBuilder.checkNull(String fieldName, Object val)
focal_class.full_signature: private static void checkNull(String fieldName, Object val)
focal_class.identifier: checkNull
focal_class.modifiers: private static
focal_class.parameters: (String fieldName, Object val)
focal_class.return: void
focal_class.signature: void checkNull(String fieldName, Object val)
focal_class.class_method_signature: SchemaBuilder.checkNotNull(String fieldName, Object val, String fieldToSet)
focal_class.full_signature: private static void checkNotNull(String fieldName, Object val, String fieldToSet)
focal_class.identifier: checkNotNull
focal_class.modifiers: private static
focal_class.parameters: (String fieldName, Object val, String fieldToSet)
focal_class.return: void
focal_class.signature: void checkNotNull(String fieldName, Object val, String fieldToSet)
focal_method.body: @Override
      public Map<String, String> parameters() {
          return parameters == null ? null : Collections.unmodifiableMap(parameters);
      }
focal_method.class_method_signature: SchemaBuilder.parameters()
focal_method.full_signature: @Override public Map<String, String> parameters()
focal_method.identifier: parameters
focal_method.invocations: unmodifiableMap
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: Map<String, String>
focal_method.signature: Map<String, String> parameters()