1 /* 2 Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 3 4 This program is free software; you can redistribute it and/or modify 5 it under the terms of the GNU General Public License, version 2.0, 6 as published by the Free Software Foundation. 7 8 This program is also distributed with certain software (including 9 but not limited to OpenSSL) that is licensed under separate terms, 10 as designated in a particular file or component or in included license 11 documentation. The authors of MySQL hereby grant you an additional 12 permission to link the program and your derivative works with the 13 separately licensed software that they have included with MySQL. 14 15 This program is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU General Public License, version 2.0, for more details. 19 20 You should have received a copy of the GNU General Public License 21 along with this program; if not, write to the Free Software 22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 23 */ 24 25 package com.mysql.clusterj.core.store; 26 27 /** 28 * 29 */ 30 public interface ResultData { 31 getDecimal(Column storeColumn)32 public java.math.BigDecimal getDecimal(Column storeColumn); 33 getBigInteger(Column columnName)34 public java.math.BigInteger getBigInteger(Column columnName); 35 getBlob(Column storeColumn)36 public Blob getBlob(Column storeColumn); 37 getBoolean(Column storeColumn)38 public boolean getBoolean(Column storeColumn); 39 getBooleans(Column storeColumn)40 public boolean[] getBooleans(Column storeColumn); 41 getByte(Column storeColumn)42 public byte getByte(Column storeColumn); 43 getDouble(Column storeColumn)44 public double getDouble(Column storeColumn); 45 getFloat(Column storeColumn)46 public float getFloat(Column storeColumn); 47 getInt(Column storeColumn)48 public int getInt(Column storeColumn); 49 getLong(Column storeColumn)50 public long getLong(Column storeColumn); 51 getShort(Column storeColumn)52 public short getShort(Column storeColumn); 53 getObjectBoolean(Column storeColumn)54 public Boolean getObjectBoolean(Column storeColumn); 55 getObjectByte(Column storeColumn)56 public Byte getObjectByte(Column storeColumn); 57 getObjectDouble(Column storeColumn)58 public Double getObjectDouble(Column storeColumn); 59 getObjectFloat(Column storeColumn)60 public Float getObjectFloat(Column storeColumn); 61 getObjectInteger(Column storeColumn)62 public Integer getObjectInteger(Column storeColumn); 63 getObjectLong(Column storeColumn)64 public Long getObjectLong(Column storeColumn); 65 getObjectShort(Column storeColumn)66 public Short getObjectShort(Column storeColumn); 67 getString(Column storeColumn)68 public String getString(Column storeColumn); 69 next()70 public boolean next(); 71 getBytes(Column storeColumn)72 public byte[] getBytes(Column storeColumn); 73 getObject(Column storeColumn)74 public Object getObject(Column storeColumn); 75 getDecimal(int columnNumber)76 public java.math.BigDecimal getDecimal(int columnNumber); 77 getBigInteger(int columnNumber)78 public java.math.BigInteger getBigInteger(int columnNumber); 79 getBlob(int columnNumber)80 public Blob getBlob(int columnNumber); 81 getBoolean(int columnNumber)82 public boolean getBoolean(int columnNumber); 83 getBooleans(int columnNumber)84 public boolean[] getBooleans(int columnNumber); 85 getByte(int columnNumber)86 public byte getByte(int columnNumber); 87 getDouble(int columnNumber)88 public double getDouble(int columnNumber); 89 getFloat(int columnNumber)90 public float getFloat(int columnNumber); 91 getInt(int columnNumber)92 public int getInt(int columnNumber); 93 getLong(int columnNumber)94 public long getLong(int columnNumber); 95 getShort(int columnNumber)96 public short getShort(int columnNumber); 97 getObjectBoolean(int columnNumber)98 public Boolean getObjectBoolean(int columnNumber); 99 getObjectByte(int columnNumber)100 public Byte getObjectByte(int columnNumber); 101 getObjectDouble(int columnNumber)102 public Double getObjectDouble(int columnNumber); 103 getObjectFloat(int columnNumber)104 public Float getObjectFloat(int columnNumber); 105 getObjectInteger(int columnNumber)106 public Integer getObjectInteger(int columnNumber); 107 getObjectLong(int columnNumber)108 public Long getObjectLong(int columnNumber); 109 getObjectShort(int columnNumber)110 public Short getObjectShort(int columnNumber); 111 getString(int columnNumber)112 public String getString(int columnNumber); 113 getBytes(int columnNumber)114 public byte[] getBytes(int columnNumber); 115 getObject(int column)116 public Object getObject(int column); 117 getColumns()118 public Column[] getColumns(); 119 120 } 121