public static final class AvroSerializer.AvroSchemaSerializerConfigSnapshot extends TypeSerializerConfigSnapshot
Constructor and Description |
---|
AvroSchemaSerializerConfigSnapshot()
Default constructor for instantiation via reflection.
|
AvroSchemaSerializerConfigSnapshot(String schemaString) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSchemaString() |
int |
getVersion()
Returns the version number of the object.
|
int |
hashCode() |
void |
read(DataInputView in)
Reads the object's internal data from the given data input view.
|
String |
toString() |
void |
write(DataOutputView out)
Writes the object's internal data to the given data output view.
|
getUserCodeClassLoader, setUserCodeClassLoader
getCompatibleVersions, getReadVersion
public AvroSchemaSerializerConfigSnapshot()
public AvroSchemaSerializerConfigSnapshot(String schemaString)
public String getSchemaString()
public void read(DataInputView in) throws IOException
IOReadableWritable
read
in interface IOReadableWritable
read
in class VersionedIOReadableWritable
in
- the input view to read the data fromIOException
- thrown if any error occurs while reading from the input streampublic void write(DataOutputView out) throws IOException
IOReadableWritable
write
in interface IOReadableWritable
write
in class VersionedIOReadableWritable
out
- the output view to receive the data.IOException
- thrown if any error occurs while writing to the output streampublic int getVersion()
Versioned
public boolean equals(Object obj)
equals
in class TypeSerializerConfigSnapshot
public int hashCode()
hashCode
in class TypeSerializerConfigSnapshot
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.