-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #209 from taosdata/3.0
merge to main
- Loading branch information
Showing
44 changed files
with
1,914 additions
and
907 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
package com.taosdata.jdbc; | ||
|
||
import java.sql.PreparedStatement; | ||
import java.sql.SQLException; | ||
import java.sql.Timestamp; | ||
import java.util.List; | ||
|
||
public interface TaosPrepareStatement extends PreparedStatement { | ||
|
||
void setTableName(String name) throws SQLException; | ||
|
||
void setTagNull(int index, int type) throws SQLException; | ||
|
||
void setTagBoolean(int index, boolean value); | ||
|
||
void setTagByte(int index, byte value); | ||
|
||
void setTagShort(int index, short value); | ||
|
||
void setTagInt(int index, int value); | ||
|
||
void setTagLong(int index, long value); | ||
|
||
void setTagFloat(int index, float value); | ||
|
||
void setTagDouble(int index, double value); | ||
|
||
void setTagTimestamp(int index, long value); | ||
|
||
void setTagTimestamp(int index, Timestamp value); | ||
|
||
void setTagString(int index, String value); | ||
|
||
void setTagVarbinary(int index, byte[] value); | ||
void setTagGeometry(int index, byte[] value); | ||
|
||
void setTagNString(int index, String value); | ||
|
||
void setTagJson(int index, String value); | ||
void setInt(int columnIndex, List<Integer> list) throws SQLException; | ||
void setFloat(int columnIndex, List<Float> list) throws SQLException; | ||
|
||
void setTimestamp(int columnIndex, List<Long> list) throws SQLException; | ||
|
||
void setLong(int columnIndex, List<Long> list) throws SQLException; | ||
|
||
void setDouble(int columnIndex, List<Double> list) throws SQLException; | ||
|
||
void setBoolean(int columnIndex, List<Boolean> list) throws SQLException; | ||
|
||
void setByte(int columnIndex, List<Byte> list) throws SQLException; | ||
|
||
void setShort(int columnIndex, List<Short> list) throws SQLException; | ||
|
||
void setString(int columnIndex, List<String> list, int size) throws SQLException; | ||
|
||
void setVarbinary(int columnIndex, List<byte[]> list, int size) throws SQLException; | ||
void setGeometry(int columnIndex, List<byte[]> list, int size) throws SQLException; | ||
// note: expand the required space for each NChar character | ||
void setNString(int columnIndex, List<String> list, int size) throws SQLException; | ||
|
||
void columnDataAddBatch() throws SQLException; | ||
|
||
void columnDataExecuteBatch() throws SQLException; | ||
} |
Oops, something went wrong.