示例#1
0
 public static boolean isVectorizable(SortSpec[] sortKeys) {
   if (sortKeys.length == 0) {
     return false;
   }
   for (SortSpec spec : sortKeys) {
     try {
       vectorType(spec.getSortKey().getDataType().getType());
     } catch (Exception e) {
       return false;
     }
   }
   return true;
 }