1 5 package org.h2.table; 6 7 import org.h2.value.Value; 8 9 public class SingleColumnResolver implements ColumnResolver { 10 11 private Column column; 12 private Value value; 13 14 SingleColumnResolver(Column column) { 15 this.column = column; 16 } 17 18 public String getTableAlias() { 19 return null; 20 } 21 22 public void setValue(Value value) { 23 this.value = value; 24 } 25 26 public Value getValue(Column column) { 27 return value; 28 } 29 30 public Column[] getColumns() { 31 return new Column[] { column }; 32 } 33 34 public String getSchemaName() { 35 return null; 36 } 37 38 public TableFilter getTableFilter() { 39 return null; 40 } 41 42 } 43 | Popular Tags |