# Package com.amazon.redshift.util

Interface Summary
ByteStreamWriter: A class that can be used to set a byte array parameter by writing to an OutputStream.
ByteStreamWriter.ByteStreamTarget: Provides a target to write bytes to.
CanEstimateSize
Gettable<K,V>
LruCache.CreateAction<Key,Value>: When the entry is not present in cache, this create action is used to create one.
LruCache.EvictAction<Value>: Action that is invoked when the entry is removed from the cache.
RedshiftBinaryObject: RedshiftBinaryObject is an interface that classes extending `RedshiftObject` can use to take advantage of more optimal binary encoding of the data type.

Class Summary
Base64: This code is a stripped down version of Robert Harder's Public Domain Base64 implementation.
ByteBufferByteStreamWriter: A `ByteStreamWriter` that writes a `java.nio.ByteBuffer` to a byte array parameter.
ByteConverter: Helper methods to parse java base types from byte arrays.
DriverInfo: Utility class with constants of Driver information.
ExpressionProperties
GettableHashMap<K,V>
GT: This class provides a wrapper around a gettext message catalog that can provide a localized version of error messages.
HostSpec: Simple container for host and port.
HStoreConverter
IniFile
JdbcBlackHole
LruCache<Key,Value extends CanEstimateSize>: Caches values in simple least-recently-accessed order.
MD5Digest: MD5-based utility function to obfuscate passwords before network transmission.
ObjectFactory: Helper class to instantiate objects.
ReaderInputStream: ReaderInputStream accepts a UTF-16 char stream (Reader) as input and converts it to a UTF-8 byte stream (InputStream) as output.
RedshiftBytea: Converts to and from the Redshift bytea datatype used by the backend.
RedshiftGeometry
RedshiftInterval: This implements a class that handles the Redshift interval type.
RedshiftJDBCMain
RedshiftMoney: This implements a class that handles the Redshift money and cash types.
RedshiftObject: RedshiftObject is a class used to describe unknown types An unknown type is any type that is unknown by JDBC Standards.
RedshiftPropertyMaxResultBufferParser
RedshiftTime: This class augments the Java built-in Time to allow for explicit setting of the time zone.
RedshiftTimestamp: This class augments the Java built-in Timestamp to allow for explicit setting of the time zone.
RedshiftTokenizer: This class is used to tokenize the text output of com.amazon.redshift.
ServerErrorMessage
SharedTimer
StreamWrapper: Wrapper around a length-limited InputStream.
URLCoder: This class helps with URL encoding and decoding.

Enum Summary
RedshiftState: This class is used for holding SQLState codes.

Exception Summary
RedshiftException
RedshiftWarning