org.postgresql.jdbc
Class UUIDArrayAssistant

java.lang.Object
  extended by org.postgresql.jdbc.UUIDArrayAssistant
All Implemented Interfaces:
ArrayAssistant

public class UUIDArrayAssistant
extends Object
implements ArrayAssistant


Constructor Summary
UUIDArrayAssistant()
           
 
Method Summary
 Class<?> baseType()
          get array base type
 Object buildElement(byte[] bytes, int pos, int len)
          build a array element from its binary bytes
 Object buildElement(String literal)
          build an array element from its literal string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UUIDArrayAssistant

public UUIDArrayAssistant()
Method Detail

baseType

public Class<?> baseType()
Description copied from interface: ArrayAssistant
get array base type

Specified by:
baseType in interface ArrayAssistant
Returns:
array base type

buildElement

public Object buildElement(byte[] bytes,
                           int pos,
                           int len)
Description copied from interface: ArrayAssistant
build a array element from its binary bytes

Specified by:
buildElement in interface ArrayAssistant
Parameters:
bytes - input bytes
pos - position in input array
len - length of the element
Returns:
array element from its binary bytes

buildElement

public Object buildElement(String literal)
Description copied from interface: ArrayAssistant
build an array element from its literal string

Specified by:
buildElement in interface ArrayAssistant
Parameters:
literal - string representation of array element
Returns:
array element


Copyright © 2017 PostgreSQL Global Development Group. All rights reserved.