public class SerializableSchema extends Object implements Serializable
| Constructor and Description |
|---|
SerializableSchema() |
SerializableSchema(org.apache.avro.Schema schema) |
SerializableSchema(SerializableSchema serializableSchema) |
SerializableSchema(String schemaStr) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.avro.Schema |
get() |
static org.apache.avro.Schema |
newCopy(org.apache.avro.Schema schemaObject) |
void |
readObjectFrom(ObjectInputStream in) |
String |
toString() |
void |
writeObjectTo(ObjectOutputStream out) |
public SerializableSchema()
public SerializableSchema(String schemaStr)
public SerializableSchema(org.apache.avro.Schema schema)
public SerializableSchema(SerializableSchema serializableSchema)
public static org.apache.avro.Schema newCopy(org.apache.avro.Schema schemaObject)
public org.apache.avro.Schema get()
public void writeObjectTo(ObjectOutputStream out) throws IOException
IOExceptionpublic void readObjectFrom(ObjectInputStream in) throws IOException
IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.