private boolean isBinary(int type) {
      switch (type) {
         case java.sql.Types.BINARY:
         case java.sql.Types.VARBINARY:
         case java.sql.Types.LONGVARBINARY:
            return true;
         default:
            return false;
      }
   }
Indicates whether the given SQL data type is a binary type.

@param type one of the constants from <code>java.sql.Types</code>
@return <code>true</code> if the given type is <code>BINARY</code>,'
        <code>VARBINARY</code>, or <code>LONGVARBINARY</code>;
        <code>false</code> otherwise
src/main/java/org/replicadb/rowset/StreamingRowSetImpl.java