Class BaseValueHandler<T>
- java.lang.Object
-
- de.bytefish.pgbulkinsert.pgsql.handlers.BaseValueHandler<T>
-
- All Implemented Interfaces:
IValueHandler<T>,ValueHandler
- Direct Known Subclasses:
BigDecimalValueHandler,BooleanValueHandler,BoxValueHandler,ByteArrayValueHandler,ByteValueHandler,CircleValueHandler,CollectionValueHandler,DoubleValueHandler,FloatValueHandler,HstoreValueHandler,Inet4AddressValueHandler,Inet6AddressValueHandler,IntegerValueHandler,JsonbValueHandler,LineSegmentValueHandler,LineValueHandler,LocalDateTimeValueHandler,LocalDateValueHandler,LocalTimeValueHandler,LongValueHandler,MacAddressValueHandler,PathValueHandler,PointValueHandler,PolygonValueHandler,RangeValueHandler,ShortValueHandler,StringValueHandler,UUIDValueHandler,ZonedDateTimeValueHandler
public abstract class BaseValueHandler<T> extends Object implements IValueHandler<T>
-
-
Constructor Summary
Constructors Constructor Description BaseValueHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidhandle(DataOutputStream buffer, @Nullable T value)protected abstract voidinternalHandle(DataOutputStream buffer, T value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.bytefish.pgbulkinsert.pgsql.handlers.IValueHandler
getLength
-
-
-
-
Method Detail
-
handle
public void handle(DataOutputStream buffer, @Nullable T value)
- Specified by:
handlein interfaceIValueHandler<T>
-
internalHandle
protected abstract void internalHandle(DataOutputStream buffer, T value) throws Exception
- Throws:
Exception
-
-