private boolean isSupportedPrimitive ( PrimitiveTypeInfo type ) { switch ( type . getPrimitiveCategory ( ) ) { case VOID : case STRING : case BOOLEAN : case BYTE : case SHORT : case INT : case LONG : case FLOAT : case DOUBLE : case DATE : case TIMESTAMP : return true ; default : return false ; } }
Determines if the given primitive is supported by this deserializer . At this time the only exclusions are BINARY DECIMAL VARCHAR CHAR and UNKNOWN .