Top Description Methods
org.apache.avro.data

public Interface ErrorBuilder<T>

extends RecordBuilder<T>
Known Direct Implementers
org.apache.avro.specific.SpecificErrorBuilderBase

Interface for error builders

Method Summary

Modifier and TypeMethod and Description
public ErrorBuilder<T>
clearCause()

Clears the cause

public ErrorBuilder<T>
clearValue()

Clears the value

public Throwable
getCause()

Gets the error cause

public Object
getValue()

Gets the value

public boolean
hasCause()

Checks whether the cause has been set

public boolean
hasValue()

Checks whether the value has been set

public ErrorBuilder<T>
setCause(Throwable cause)

Sets the error cause

public ErrorBuilder<T>
setValue(Object value)

Sets the value

Inherited from org.apache.avro.data.RecordBuilder:
build

Method Detail

clearCauseback to summary
public ErrorBuilder<T> clearCause()

Clears the cause

clearValueback to summary
public ErrorBuilder<T> clearValue()

Clears the value

getCauseback to summary
public Throwable getCause()

Gets the error cause

getValueback to summary
public Object getValue()

Gets the value

hasCauseback to summary
public boolean hasCause()

Checks whether the cause has been set

hasValueback to summary
public boolean hasValue()

Checks whether the value has been set

setCauseback to summary
public ErrorBuilder<T> setCause(Throwable cause)

Sets the error cause

setValueback to summary
public ErrorBuilder<T> setValue(Object value)

Sets the value