com.taosdata.jdbc.ws.stmt.entity

## 类 RequestFactory

- java.lang.Object
- - com.taosdata.jdbc.ws.stmt.entity.RequestFactory

    public class RequestFactory
    extends Object

generate id for request

### 方法概要

所有方法 静态方法 具体方法
`static Request` `generateBatch(long stmtId, long reqId)`
`static Request` `generateBind(long stmtId, long reqId, Object[][] columns)`
`static Request` `generateClose(long stmtId, long reqId)`
`static Request` `generateExec(long stmtId, long reqId)`
`static Request` `generateInit(long reqId)`
`static Request` `generatePrepare(long stmtId, long reqId, String sql)`
`static Request` `generateSetTableName(long stmtId, long reqId, String tableName)`
`static Request` `generateSetTags(long stmtId, long reqId, Object[] tags)`

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 方法详细资料

#### generateInit

    public static Request generateInit(long reqId)

#### generatePrepare

    public static Request generatePrepare(long stmtId,
                                          long reqId,
                                          String sql)

#### generateSetTableName

    public static Request generateSetTableName(long stmtId,
                                               long reqId,
                                               String tableName)

#### generateSetTags

    public static Request generateSetTags(long stmtId,
                                          long reqId,
                                          Object[] tags)

#### generateBind

    public static Request generateBind(long stmtId,
                                       long reqId,
                                       Object[][] columns)

#### generateBatch

    public static Request generateBatch(long stmtId,
                                        long reqId)

#### generateExec

    public static Request generateExec(long stmtId,
                                       long reqId)

#### generateClose

    public static Request generateClose(long stmtId,
                                        long reqId)