public boolean getInternalBoolean ( ColumnInformation columnInfo ) { if ( lastValueWasNull ( ) ) { return false ; } if ( columnInfo . getColumnType ( ) == ColumnType . BIT ) { return parseBit ( ) != 0 ; } final String rawVal = new String ( buf , pos , length , StandardCharsets . UTF_8 ) ; return ! ( "false" . equals ( rawVal ) || "0" . equals ( rawVal ) ) ; }
Get boolean from raw text format .