public class IonHashReaderBuilder extends Object
IonHashReader for the given IonReader and IonHasherProvider.
Instances of this class are not thread-safe.| Modifier and Type | Method and Description |
|---|---|
IonHashReader |
build()
Constructs a new IonHashReader, which decorates the IonReader with hashes.
|
static IonHashReaderBuilder |
standard()
The standard builder of
IonHashReaderBuilders. |
IonHashReaderBuilder |
withHasherProvider(IonHasherProvider hasherProvider)
Specifies the hash function implementation to use.
|
IonHashReaderBuilder |
withReader(com.amazon.ion.IonReader reader)
Specifies the stream reader to compute hashes over.
|
public static IonHashReaderBuilder standard()
IonHashReaderBuilders.public IonHashReaderBuilder withReader(com.amazon.ion.IonReader reader)
public IonHashReaderBuilder withHasherProvider(IonHasherProvider hasherProvider)
public IonHashReader build()