@Test public void testBuilder() { Schema plain = Decimal.builder(2).build(); assertEquals(Decimal.LOGICAL_NAME, plain.name()); assertEquals(Collections.singletonMap(Decimal.SCALE_FIELD, "2"), plain.parameters()); assertEquals(1, (Object) plain.version()); }
public static SchemaBuilder builder(int scale) { return SchemaBuilder.bytes() .name(LOGICAL_NAME) .parameter(SCALE_FIELD, ((Integer) scale).toString()) .version(1); }
Decimal { public static SchemaBuilder builder(int scale) { return SchemaBuilder.bytes() .name(LOGICAL_NAME) .parameter(SCALE_FIELD, ((Integer) scale).toString()) .version(1); } }
Decimal { public static SchemaBuilder builder(int scale) { return SchemaBuilder.bytes() .name(LOGICAL_NAME) .parameter(SCALE_FIELD, ((Integer) scale).toString()) .version(1); }  }
Decimal { public static SchemaBuilder builder(int scale) { return SchemaBuilder.bytes() .name(LOGICAL_NAME) .parameter(SCALE_FIELD, ((Integer) scale).toString()) .version(1); }  static SchemaBuilder builder(int scale); static Schema schema(int scale); static byte[] fromLogical(Schema schema, BigDecimal value); static BigDecimal toLogical(Schema schema, byte[] value); }
Decimal { public static SchemaBuilder builder(int scale) { return SchemaBuilder.bytes() .name(LOGICAL_NAME) .parameter(SCALE_FIELD, ((Integer) scale).toString()) .version(1); }  static SchemaBuilder builder(int scale); static Schema schema(int scale); static byte[] fromLogical(Schema schema, BigDecimal value); static BigDecimal toLogical(Schema schema, byte[] value); static final String LOGICAL_NAME; static final String SCALE_FIELD; }