Initialize the SerDe. By default, this will use one set of properties, either the
table properties or the partition properties. If a SerDe needs access to both sets,
it should override this method.
Eventually, once all SerDes have implemented this method,
we should convert it to an abstract method.
public org.apache.avro.Schema determineSchemaOrReturnErrorSchema(org.apache.hadoop.conf.Configuration conf,
Attempt to determine the schema via the usual means, but do not throw
an exception if we fail. Instead, signal failure via a special
schema. This is used because Hive calls init on the serde during
any call, including calls to update the serde properties, meaning
if the serde is in a bad state, there is no way to update that state.
public Class<? extends org.apache.hadoop.io.Writable> getSerializedClass()
Serialize an object by navigating inside the Object with the
ObjectInspector. In most cases, the return value of this function will be
constant since the function will reuse the Writable object. If the client
wants to keep a copy of the Writable, the client needs to clone the
Deserialize an object out of a Writable blob. In most cases, the return
value of this function will be constant since the function will reuse the
returned object. If the client wants to keep a copy of the object, the
client needs to clone the returned value by calling