Class PulsarAvroSchemaUtil
java.lang.Object
io.nosqlbench.adapter.pulsar.util.PulsarAvroSchemaUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.avro.generic.GenericRecordGetGenericRecord_ApacheAvro(org.apache.avro.Schema schema, byte[] bytesData) static org.apache.avro.generic.GenericRecordGetGenericRecord_ApacheAvro(org.apache.avro.Schema schema, String jsonData) static org.apache.pulsar.client.api.schema.GenericRecordGetGenericRecord_PulsarAvro(String schemaName, String avroSchemDefStr, String jsonData) static org.apache.pulsar.client.api.schema.GenericRecordGetGenericRecord_PulsarAvro(org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema genericAvroSchema, String avroSchemDefStr, String jsonData) static org.apache.pulsar.client.api.schema.GenericRecordGetGenericRecord_PulsarAvro(org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema pulsarGenericAvroSchema, org.apache.avro.generic.GenericRecord apacheAvroGenericRecord) static org.apache.pulsar.client.api.schema.GenericRecordGetGenericRecord_PulsarAvro(org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema genericAvroSchema, org.apache.avro.Schema avroSchema, String jsonData) static org.apache.avro.SchemaGetSchema_ApacheAvro(String avroSchemDef) /////////////////////static org.apache.pulsar.client.impl.schema.generic.GenericAvroSchemaGetSchema_PulsarAvro(String schemaName, String avroSchemDef) /////////////////////
-
Constructor Details
-
PulsarAvroSchemaUtil
public PulsarAvroSchemaUtil()
-
-
Method Details
-
GetSchema_ApacheAvro
///////////////////// -
GetGenericRecord_ApacheAvro
public static org.apache.avro.generic.GenericRecord GetGenericRecord_ApacheAvro(org.apache.avro.Schema schema, String jsonData) -
GetGenericRecord_ApacheAvro
public static org.apache.avro.generic.GenericRecord GetGenericRecord_ApacheAvro(org.apache.avro.Schema schema, byte[] bytesData) -
GetSchema_PulsarAvro
-
GetGenericRecord_PulsarAvro
public static org.apache.pulsar.client.api.schema.GenericRecord GetGenericRecord_PulsarAvro(org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema pulsarGenericAvroSchema, org.apache.avro.generic.GenericRecord apacheAvroGenericRecord) -
GetGenericRecord_PulsarAvro
-
GetGenericRecord_PulsarAvro
public static org.apache.pulsar.client.api.schema.GenericRecord GetGenericRecord_PulsarAvro(org.apache.pulsar.client.impl.schema.generic.GenericAvroSchema genericAvroSchema, org.apache.avro.Schema avroSchema, String jsonData) -
GetGenericRecord_PulsarAvro
-