Class CollectionValueHandler<TElementType,TCollectionType extends Collection<TElementType>>
- java.lang.Object
-
- de.bytefish.pgbulkinsert.pgsql.handlers.BaseValueHandler<TCollectionType>
-
- de.bytefish.pgbulkinsert.pgsql.handlers.CollectionValueHandler<TElementType,TCollectionType>
-
- All Implemented Interfaces:
IValueHandler<TCollectionType>,ValueHandler
public class CollectionValueHandler<TElementType,TCollectionType extends Collection<TElementType>> extends BaseValueHandler<TCollectionType>
-
-
Constructor Summary
Constructors Constructor Description CollectionValueHandler(int oid, IValueHandler<TElementType> valueHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength(TCollectionType value)protected voidinternalHandle(DataOutputStream buffer, TCollectionType value)-
Methods inherited from class de.bytefish.pgbulkinsert.pgsql.handlers.BaseValueHandler
handle
-
-
-
-
Constructor Detail
-
CollectionValueHandler
public CollectionValueHandler(int oid, IValueHandler<TElementType> valueHandler)
-
-
Method Detail
-
internalHandle
protected void internalHandle(DataOutputStream buffer, TCollectionType value) throws Exception
- Specified by:
internalHandlein classBaseValueHandler<TCollectionType extends Collection<TElementType>>- Throws:
Exception
-
getLength
public int getLength(TCollectionType value)
-
-