## 类的使用
com.taosdata.jdbc.enums.SchemalessProtocolType

使用SchemalessProtocolType的程序包
com.taosdata.jdbc
com.taosdata.jdbc.enums

### com.taosdata.jdbc中SchemalessProtocolType的使用

参数类型为SchemalessProtocolType的com.taosdata.jdbc中的方法
`void` TSDBJNIConnector.`insertLines(String[] lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType)`
`void` TSDBJNIConnector.`insertLinesWithReqId(String[] lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, long reqId)`
`void` TSDBJNIConnector.`insertLinesWithTtl(String[] lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, int ttl)`
`void` TSDBJNIConnector.`insertLinesWithTtlAndReqId(String[] lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, int ttl, long reqId)`
`int` TSDBJNIConnector.`insertRaw(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType)`
`int` TSDBJNIConnector.`insertRawWithReqId(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, long reqId)`
`int` TSDBJNIConnector.`insertRawWithTtl(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, int ttl)`
`int` TSDBJNIConnector.`insertRawWithTtlAndReqId(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, int ttl, long reqId)`
`void` SchemalessWriter.`write(List<String> lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType)` batch schemaless lines write to db with list
`void` SchemalessWriter.`write(String[] lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType)` batch schemaless lines write to db
`void` SchemalessWriter.`write(String[] lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, Integer ttl, Long reqId)`
`void` SchemalessWriter.`write(String[] lines, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, String dbName, Integer ttl, Long reqId)` 已过时。
`void` SchemalessWriter.`write(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType)` only one line writes to db
`int` SchemalessWriter.`writeRaw(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType)`
`int` SchemalessWriter.`writeRaw(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, Integer ttl, Long reqId)`
`int` SchemalessWriter.`writeRaw(String line, SchemalessProtocolType protocolType, SchemalessTimestampType timestampType, String dbName, Integer ttl, Long reqId)` 已过时。

### com.taosdata.jdbc.enums中SchemalessProtocolType的使用

返回SchemalessProtocolType的com.taosdata.jdbc.enums中的方法
`static SchemalessProtocolType` SchemalessProtocolType.`parse(String type)`
`static SchemalessProtocolType` SchemalessProtocolType.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
`static SchemalessProtocolType[]` SchemalessProtocolType.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。