1 package org.riverock.dbrevision.db.impl;
2
3 import java.sql.Connection;
4 import java.sql.PreparedStatement;
5 import java.sql.ResultSet;
6 import java.sql.DatabaseMetaData;
7 import java.util.List;
8
9 import org.riverock.dbrevision.annotation.schema.db.DbDataFieldData;
10 import org.riverock.dbrevision.annotation.schema.db.DbField;
11 import org.riverock.dbrevision.annotation.schema.db.DbForeignKey;
12 import org.riverock.dbrevision.annotation.schema.db.DbSequence;
13 import org.riverock.dbrevision.annotation.schema.db.DbTable;
14 import org.riverock.dbrevision.annotation.schema.db.DbView;
15 import org.riverock.dbrevision.db.Database;
16
17
18
19
20
21
22 public class LocalDatabase extends Database {
23 public LocalDatabase(Connection conn) {
24 super(conn);
25 }
26
27 public Family getFamily() {
28 return null;
29 }
30
31 public void setBlobField(String tableName, String fieldName, byte[] bytes, String whereQuery, Object[] objects, int[] fieldTyped) {
32
33 }
34
35 public boolean isBatchUpdate() {
36 return false;
37 }
38
39 public boolean isNeedUpdateBracket() {
40 return false;
41 }
42
43 public boolean isByteArrayInUtf8() {
44 return false;
45 }
46
47 public boolean isSchemaSupports() {
48 return true;
49 }
50
51 public String getDefaultSchemaName(DatabaseMetaData databaseMetaData) {
52 return null;
53 }
54
55 public String getClobField(ResultSet rs, String nameFeld) {
56 return null;
57 }
58
59 public byte[] getBlobField(ResultSet rs, String nameField, int maxLength) {
60 return new byte[0];
61 }
62
63 public void createTable(DbTable table) {
64
65 }
66
67 public void createView(DbView view) {
68
69 }
70
71 public void createSequence(DbSequence seq) {
72
73 }
74
75 public void dropTable(DbTable table) {
76
77 }
78
79 public void dropTable(String nameTable) {
80
81 }
82
83 public void dropSequence(String nameSequence) {
84
85 }
86
87 public void dropConstraint(DbForeignKey impPk) {
88
89 }
90
91 public void addColumn(DbTable table, DbField field) {
92
93 }
94
95 public void createForeignKey(DbTable view) {
96
97 }
98
99 public String getOnDeleteSetNull() {
100 return null;
101 }
102
103 public String getDefaultTimestampValue() {
104 return null;
105 }
106
107 public List<DbView> getViewList(String schemaPattern, String tablePattern) {
108 return null;
109 }
110
111 public List<DbSequence> getSequnceList(String schemaPattern) {
112 return null;
113 }
114
115 public String getViewText(DbView view) {
116 return null;
117 }
118
119 public void setLongVarbinary(PreparedStatement ps, int index, DbDataFieldData fieldData) {
120
121 }
122
123 public void setLongVarchar(PreparedStatement ps, int index, DbDataFieldData fieldData) {
124
125 }
126
127 public String getClobField(ResultSet rs, String nameFeld, int maxLength) {
128 return null;
129 }
130
131 public boolean testExceptionTableNotFound(Exception e) {
132 return false;
133 }
134
135 public boolean testExceptionIndexUniqueKey(Exception e, String index) {
136 return false;
137 }
138
139 public boolean testExceptionIndexUniqueKey(Exception e) {
140 return false;
141 }
142
143 public boolean testExceptionTableExists(Exception e) {
144 return false;
145 }
146
147 public boolean testExceptionViewExists(Exception e) {
148 return false;
149 }
150
151 public boolean testExceptionSequenceExists(Exception e) {
152 return false;
153 }
154
155 public boolean testExceptionConstraintExists(Exception e) {
156 return false;
157 }
158
159 public int getMaxLengthStringField() {
160 return 0;
161 }
162 }