1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.apache.hadoop.hbase.jdbc.impl;
22
23 import java.sql.ResultSetMetaData;
24 import java.sql.SQLException;
25
26 public class ResultSetMetaDataImpl implements ResultSetMetaData {
27
28 private final ResultSetImpl resultSet;
29
30 public ResultSetMetaDataImpl(final ResultSetImpl resultSet) {
31 this.resultSet = resultSet;
32 }
33
34 private ResultSetImpl getResultSet() {
35 return this.resultSet;
36 }
37
38 public int getColumnCount() throws SQLException {
39 return 0;
40 }
41
42 public boolean isAutoIncrement(final int i) throws SQLException {
43 return false;
44 }
45
46 public boolean isCaseSensitive(final int i) throws SQLException {
47 return false;
48 }
49
50 public boolean isSearchable(final int i) throws SQLException {
51 return false;
52 }
53
54 public boolean isCurrency(final int i) throws SQLException {
55 return false;
56 }
57
58 public int isNullable(final int i) throws SQLException {
59 return 0;
60 }
61
62 public boolean isSigned(final int i) throws SQLException {
63 return false;
64 }
65
66 public int getColumnDisplaySize(final int i) throws SQLException {
67 return 0;
68 }
69
70 public String getColumnLabel(final int i) throws SQLException {
71 return "";
72 }
73
74 public String getColumnName(final int i) throws SQLException {
75 return null;
76 }
77
78 public String getSchemaName(final int i) throws SQLException {
79 return "";
80 }
81
82 public String getTableName(final int i) throws SQLException {
83 return "";
84 }
85
86 public String getCatalogName(final int i) throws SQLException {
87 return "";
88 }
89
90 public int getColumnType(final int i) throws SQLException {
91 return 0;
92 }
93
94 public String getColumnTypeName(final int i) throws SQLException {
95 return null;
96 }
97
98 public int getPrecision(final int i) throws SQLException {
99 return 0;
100 }
101
102 public int getScale(final int i) throws SQLException {
103 return 0;
104 }
105
106 public boolean isReadOnly(final int i) throws SQLException {
107 return false;
108 }
109
110 public boolean isWritable(final int i) throws SQLException {
111 return true;
112 }
113
114 public boolean isDefinitelyWritable(final int i) throws SQLException {
115 return true;
116 }
117
118 public String getColumnClassName(final int i) throws SQLException {
119 return null;
120 }
121
122 public <T> T unwrap(final Class<T> tClass) throws SQLException {
123 return null;
124 }
125
126 public boolean isWrapperFor(final Class<?> aClass) throws SQLException {
127 return false;
128 }
129 }