Ejemplo n.º 1
0
 private boolean supportsBinaryEncoding(FieldSchema fs) {
   try {
     ColumnType colType = parseColumnType(fs);
     // Only boolean, integer and floating point types can use binary storage.
     return colType.isBoolean() || colType.isIntegerType() || colType.isFloatingPointType();
   } catch (TableLoadingException e) {
     return false;
   }
 }