1 24 25 package com.mckoi.database; 26 27 import com.mckoi.database.global.SQLTypes; 28 29 34 35 public class TArrayType extends TType { 36 37 static final long serialVersionUID = 6551509064212831922L; 38 39 42 public TArrayType() { 43 super(SQLTypes.ARRAY); 45 } 46 47 public boolean comparableTypes(TType type) { 48 throw new Error ("Query Plan types should not be compared."); 49 } 50 51 public int compareObs(Object ob1, Object ob2) { 52 throw new Error ("Query Plan types should not be compared."); 53 } 54 55 public int calculateApproximateMemoryUse(Object ob) { 56 return 5000; 57 } 58 59 public Class javaClass() { 60 return Expression[].class; 61 } 62 63 } 64 | Popular Tags |