@Override protected Schema createRecordSchema () throws IOException { if (null == _schema) { String typeName = getAvroType(_type); _schema = __schemaStore.getSchema(_type, typeName); } return _schema; }
@Override protected TileSerializer<Map<String, List<Pair<String, Long>>>> create () { return new StringLongPairArrayMapJsonSerializer(); } }
public PrimitiveArrayAvroSerializerFactory (ConfigurableFactory<?> parent, List<String> path, Class<? extends T> entryType) { super(getName(entryType), getGenericSerializerClass(entryType), parent, path); _entryType = entryType; }
public KryoSerializerFactory (ConfigurableFactory<?> parent, List<String> path, TypeDescriptor type) { super(getName(type), KryoSerializerFactory.<T>getGenericSerializerClass(), parent, path, true); _type = type; addProperty(NEEDED_CLASSES); addProperty(CODEC); }
public PairArrayAvroSerializerFactory (ConfigurableFactory<?> parent, List<String> path, Class<? extends S> keyType, Class<? extends T> valueType) { super(getName(keyType, valueType), getGenericSerializerClass(keyType, valueType), parent, path); _keyType = keyType; _valueType = valueType; }
@Override protected TileSerializer<List<Pair<String, Integer>>> create () { return new StringIntPairArrayJsonSerializer(); } }
public PairAvroSerializerFactory (ConfigurableFactory<?> parent, List<String> path, Class<? extends S> keyType, Class<? extends T> valueType) { super(getName(keyType, valueType), getGenericSerializerClass(keyType, valueType), parent, path); _keyType = keyType; _valueType = valueType; }
@Override protected TileSerializer<Double> create () { return new BackwardCompatibilitySerializer(); } }
@Override protected TileSerializer<Double> create () { return new DoubleJsonSerializer(); } }
private Kryo kryo () { if (null == _localKryo) _localKryo = new LocalizedKryo(); return _localKryo.get(); }
public PrimitiveAvroSerializerFactory (ConfigurableFactory<?> parent, List<String> path, Class<? extends T> type) { super(getName(type), getGenericSerializerClass(type), parent, path); _type = type; }
@Override public ConfigurableFactory<? extends TileSerializer<?>> create (ConfigurableFactory<?> parent, List<String> path) { return new DoubleJsonSerializerFactory(parent, path); } });
@Override public ConfigurableFactory<? extends TileSerializer<?>> create (ConfigurableFactory<?> parent, List<String> path) { return new StringLongPairArrayMapJsonSerializerFactory(parent, path); } });
@Override public ConfigurableFactory<? extends TileSerializer<?>> create (ConfigurableFactory<?> parent, List<String> path) { return new com.oculusinfo.binning.io.serialization.impl.BackwardsCompatibilitySerializerFactory(parent, path); } });
@Override public ConfigurableFactory<? extends TileSerializer<?>> create (ConfigurableFactory<?> parent, List<String> path) { return new StringIntPairArrayJsonSerializerFactory(parent, path); } });
public BackwardsCompatibilitySerializerFactory (ConfigurableFactory<?> parent, List<String> path) { super("legacy", getGenericSerializerClass(), parent, path); }
@Override public boolean equals (Object objThat) { if (this == objThat) return true; if (null == objThat) return false; if (!(objThat instanceof TestClass)) return false; TestClass that = (TestClass) objThat; return this._i == that._i && objectsEqual(this._s, that._s) && this._d == that._d; } }
@Override protected Schema createEntrySchema () { if (null == _schema) { String typeName = PrimitiveAvroSerializer.getAvroType(_type); _schema = __schemaStore.getSchema(_type, typeName); } return _schema; }
@Override protected Schema createRecordSchema () throws IOException { if (null == _schema) { String keyTypeName = PrimitiveAvroSerializer.getAvroType(_keyType); String valueTypeName = PrimitiveAvroSerializer.getAvroType(_valueType); _schema = __schemaStore.getSchema(new Pair<>(_keyType, _valueType), keyTypeName, valueTypeName); } return _schema; }
@Override protected Schema createEntrySchema () { if (null == _schema) { String keyTypeName = PrimitiveAvroSerializer.getAvroType(_keyType); String valueTypeName = PrimitiveAvroSerializer.getAvroType(_valueType); _schema = __schemaStore.getSchema(new Pair<>(_keyType, _valueType), keyTypeName, valueTypeName); } return _schema; }