]> review.fuel-infra Code Review - packages/trusty/mysql-wsrep-5.6.git/blob
e8f0321b3b350024a268577aa06d958c1ae4d2f7
[packages/trusty/mysql-wsrep-5.6.git] /
1 /*
2    Copyright (c) 2009, 2011, 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 as published by
6    the Free Software Foundation; version 2 of the License.
7
8    This program is distributed in the hope that it will be useful,
9    but WITHOUT ANY WARRANTY; without even the implied warranty of
10    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11    GNU General Public License for more details.
12
13    You should have received a copy of the GNU General Public License
14    along with this program; if not, write to the Free Software
15    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301  USA
16 */
17
18 package com.mysql.clusterj.core.store;
19
20 import java.math.BigDecimal;
21 import java.math.BigInteger;
22
23 /**
24  *
25  */
26 public interface Operation {
27
28     public int errorCode();
29
30     public void equalBigInteger(Column storeColumn, BigInteger value);
31
32     public void equalBoolean(Column storeColumn, boolean booleanValue);
33
34     public void equalByte(Column storeColumn, byte byteValue);
35
36     public void equalBytes(Column storeColumn, byte[] bytesValue);
37
38     public void equalDecimal(Column storeColumn, BigDecimal bigDecimal);
39
40     public void equalDouble(Column storeColumn, double doubleValue);
41
42     public void equalFloat(Column storeColumn, float floatValue);
43
44     public void equalShort(Column storeColumn, short shortValue);
45
46     public void equalInt(Column storeColumn, int intValue);
47
48     public void equalLong(Column storeColumn, long longValue);
49
50     public void equalString(Column storeColumn, String stringValue);
51
52     public void getBlob(Column storeColumn);
53
54     public Blob getBlobHandle(Column storeColumn);
55
56     public void getValue(Column storeColumn);
57
58     public void postExecuteCallback(Runnable callback);
59
60     public ResultData resultData();
61
62     public ResultData resultData(boolean execute);
63
64     public void setBigInteger(Column storeColumn, BigInteger value);
65
66     public void setBoolean(Column storeColumn, Boolean value);
67
68     public void setByte(Column storeColumn, byte b);
69
70     public void setBytes(Column storeColumn, byte[] b);
71
72     public void setDecimal(Column storeColumn, BigDecimal bigDecimal);
73
74     public void setDouble(Column storeColumn, Double aDouble);
75
76     public void setFloat(Column storeColumn, Float aFloat);
77
78     public void setInt(Column storeColumn, Integer integer);
79
80     public void setLong(Column storeColumn, long longValue);
81
82     public void setNull(Column storeColumn);
83
84     public void setShort(Column storeColumn, Short aShort);
85
86     public void setString(Column storeColumn, String string);
87
88 }