Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Show all

java.sql.ResultSet

Updated on 2024-06-03 GMT+08:00

This section describes java.sql.ResultSet, the API for execution result sets.

Table 1 Support status for java.sql.ResultSet

Method Name

Return Type

JDBC4 Is Supported or Not

absolute(int row)

Boolean

Yes

afterLast()

void

Yes

beforeFirst()

void

Yes

cancelRowUpdates()

void

Yes

clearWarnings()

void

Yes

close()

void

Yes

deleteRow()

void

Yes

findColumn(String columnLabel)

int

Yes

first()

Boolean

Yes

getArray(int columnIndex)

Array

Yes

getArray(String columnLabel)

Array

Yes

getAsciiStream(int columnIndex)

InputStream

Yes

getAsciiStream(String columnLabel)

InputStream

Yes

getBigDecimal(int columnIndex)

BigDecimal

Yes

getBigDecimal(String columnLabel)

BigDecimal

Yes

getBinaryStream(int columnIndex)

InputStream

Yes

getBinaryStream(String columnLabel)

InputStream

Yes

getBlob(int columnIndex)

Blob

Yes

getBlob(String columnLabel)

Blob

Yes

getBoolean(int columnIndex)

Boolean

Yes

getBoolean(String columnLabel)

Boolean

Yes

getByte(int columnIndex)

byte

Yes

getBytes(int columnIndex)

byte[]

Yes

getByte(String columnLabel)

byte

Yes

getBytes(String columnLabel)

byte[]

Yes

getCharacterStream(int columnIndex)

Reader

Yes

getCharacterStream(String columnLabel)

Reader

Yes

getClob(int columnIndex)

Clob

Yes

getClob(String columnLabel)

Clob

Yes

getConcurrency()

int

Yes

getCursorName()

String

Yes

getDate(int columnIndex)

Date

Yes

getDate(int columnIndex, Calendar cal)

Date

Yes

getDate(String columnLabel)

Date

Yes

getDate(String columnLabel, Calendar cal)

Date

Yes

getDouble(int columnIndex)

double

Yes

getDouble(String columnLabel)

double

Yes

getFetchDirection()

int

Yes

getFetchSize()

int

Yes

getFloat(int columnIndex)

float

Yes

getFloat(String columnLabel)

float

Yes

getInt(int columnIndex)

int

Yes

getInt(String columnLabel)

int

Yes

getLong(int columnIndex)

long

Yes

getLong(String columnLabel)

long

Yes

getMetaData()

ResultSetMetaData

Yes

getObject(int columnIndex)

Object

Yes

getObject(int columnIndex, Class<T> type)

<T> T

Yes

getObject(int columnIndex, Map<String,Class<?>> map)

Object

Yes

getObject(String columnLabel)

Object

Yes

getObject(String columnLabel, Class<T> type)

<T> T

Yes

getObject(String columnLabel, Map<String,Class<?>> map)

Object

Yes

getRow()

int

Yes

getShort(int columnIndex)

short

Yes

getShort(String columnLabel)

short

Yes

getSQLXML(int columnIndex)

SQLXML

Yes

getSQLXML(String columnLabel)

SQLXML

Yes

getStatement()

Statement

Yes

getString(int columnIndex)

String

Yes

getString(String columnLabel)

String

Yes

getNString(int columnIndex)

String

Yes

getNString(String columnLabel)

String

Yes

getTime(int columnIndex)

Time

Yes

getTime(int columnIndex, Calendar cal)

Time

Yes

getTime(String columnLabel)

Time

Yes

getTime(String columnLabel, Calendar cal)

Time

Yes

getTimestamp(int columnIndex)

Timestamp

Yes

getTimestamp(int columnIndex, Calendar cal)

Timestamp

Yes

getTimestamp(String columnLabel)

Timestamp

Yes

getTimestamp(String columnLabel, Calendar cal)

Timestamp

Yes

getType()

int

Yes

getWarnings()

SQLWarning

Yes

insertRow()

void

Yes

isAfterLast()

Boolean

Yes

isBeforeFirst()

Boolean

Yes

isClosed()

Boolean

Yes

isFirst()

Boolean

Yes

isLast()

Boolean

Yes

last()

Boolean

Yes

moveToCurrentRow()

void

Yes

moveToInsertRow()

void

Yes

next()

Boolean

Yes

previous()

Boolean

Yes

refreshRow()

void

Yes

relative(int rows)

Boolean

Yes

rowDeleted()

Boolean

Yes

rowInserted()

Boolean

Yes

rowUpdated()

Boolean

Yes

setFetchDirection(int direction)

void

Yes

setFetchSize(int rows)

void

Yes

updateArray(int columnIndex, Array x)

void

Yes

updateArray(String columnLabel, Array x)

void

Yes

updateAsciiStream(int columnIndex, InputStream x, int length)

void

Yes

updateAsciiStream(String columnLabel, InputStream x, int length)

void

Yes

updateBigDecimal(int columnIndex, BigDecimal x)

void

Yes

updateBigDecimal(String columnLabel, BigDecimal x)

void

Yes

updateBinaryStream(int columnIndex, InputStream x, int length)

void

Yes

updateBinaryStream(String columnLabel, InputStream x, int length)

void

Yes

updateBoolean(int columnIndex, boolean x)

void

Yes

updateBoolean(String columnLabel, boolean x)

void

Yes

updateByte(int columnIndex, byte x)

void

Yes

updateByte(String columnLabel, byte x)

void

Yes

updateBytes(int columnIndex, byte[] x)

void

Yes

updateBytes(String columnLabel, byte[] x)

void

Yes

updateCharacterStream(int columnIndex, Reader x, int length)

void

Yes

updateCharacterStream(String columnLabel, Reader reader, int length)

void

Yes

updateDate(int columnIndex, Date x)

void

Yes

updateDate(String columnLabel, Date x)

void

Yes

updateDouble(int columnIndex, double x)

void

Yes

updateDouble(String columnLabel, double x)

void

Yes

updateFloat(int columnIndex, float x)

void

Yes

updateFloat(String columnLabel, float x)

void

Yes

updateInt(int columnIndex, int x)

void

Yes

updateInt(String columnLabel, int x)

void

Yes

updateLong(int columnIndex, long x)

void

Yes

updateLong(String columnLabel, long x)

void

Yes

updateNull(int columnIndex)

void

Yes

updateNull(String columnLabel)

void

Yes

updateObject(int columnIndex, Object x)

void

Yes

updateObject(int columnIndex, Object x, int scaleOrLength)

void

Yes

updateObject(String columnLabel, Object x)

void

Yes

updateObject(String columnLabel, Object x, int scaleOrLength)

void

Yes

updateRow()

void

Yes

updateShort(int columnIndex, short x)

void

Yes

updateShort(String columnLabel, short x)

void

Yes

updateSQLXML(int columnIndex, SQLXML xmlObject)

void

Yes

updateSQLXML(String columnLabel, SQLXML xmlObject)

void

Yes

updateString(int columnIndex, String x)

void

Yes

updateString(String columnLabel, String x)

void

Yes

updateTime(int columnIndex, Time x)

void

Yes

updateTime(String columnLabel, Time x)

void

Yes

updateTimestamp(int columnIndex, Timestamp x)

void

Yes

updateTimestamp(String columnLabel, Timestamp x)

void

Yes

wasNull()

Boolean

Yes

NOTE:
  • One statement cannot have multiple open ResultSets.
  • The cursor that is used for traversing the ResultSet cannot be open after being committed.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback