1 24 25 package com.mckoi.database; 26 27 32 33 public class TQueryPlanType extends TType { 34 35 static final long serialVersionUID = -1122548450083929179L; 36 37 40 public TQueryPlanType() { 41 super(-19443); 43 } 44 45 public boolean comparableTypes(TType type) { 46 throw new Error ("Query Plan types should not be compared."); 47 } 48 49 public int compareObs(Object ob1, Object ob2) { 50 throw new Error ("Query Plan types should not be compared."); 51 } 52 53 public int calculateApproximateMemoryUse(Object ob) { 54 return 5000; 55 } 56 57 public Class javaClass() { 58 return QueryPlanNode.class; 59 } 60 61 } 62 | Popular Tags |