Package org.lwjgl.odbc
Class SQLPERF.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<SQLPERF>
,NativeResource
,Pointer
- Enclosing class:
SQLPERF
public static class SQLPERF.Buffer
extends StructBuffer<SQLPERF,SQLPERF.Buffer>
implements NativeResource
An array of
SQLPERF
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newSQLPERF.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptiondouble
AvgCursorSize
(double value) Sets the specified value to theAvgCursorSize
field.double
AvgCursorUsed
(double value) Sets the specified value to theAvgCursorUsed
field.double
AvgFetchTime
(double value) Sets the specified value to theAvgFetchTime
field.double
AvgTimeOpened
(double value) Sets the specified value to theAvgTimeOpened
field.int
BuffersRec
(int value) Sets the specified value to theBuffersRec
field.int
BuffersSent
(int value) Sets the specified value to theBuffersSent
field.int
BytesRec()
BytesRec
(int value) Sets the specified value to theBytesRec
field.int
BytesSent
(int value) Sets the specified value to theBytesSent
field.int
CurrentConnectionCount
(int value) Sets the specified value to theCurrentConnectionCount
field.int
CurrentStmtCount
(int value) Sets the specified value to theCurrentStmtCount
field.int
CursorOpens
(int value) Sets the specified value to theCursorOpens
field.int
CursorSize
(int value) Sets the specified value to theCursorSize
field.int
CursorUsed
(int value) Sets the specified value to theCursorUsed
field.int
ExecDirects
(int value) Sets the specified value to theExecDirects
field.int
MaxConnectionsOpened
(int value) Sets the specified value to theMaxConnectionsOpened
field.int
MaxOpenStmt
(int value) Sets the specified value to theMaxOpenStmt
field.int
msExecutionTime
(int value) Sets the specified value to themsExecutionTime
field.int
msNetWorkServerTime
(int value) Sets the specified value to themsNetWorkServerTime
field.double
PercentCursorUsed
(double value) Sets the specified value to thePercentCursorUsed
field.int
ServerRndTrips
(int value) Sets the specified value to theServerRndTrips
field.int
SQLExecutes
(int value) Sets the specified value to theSQLExecutes
field.int
SQLFetchCount
(int value) Sets the specified value to theSQLFetchCount
field.int
SQLFetchTime
(int value) Sets the specified value to theSQLFetchTime
field.int
SQLidu()
SQLidu
(int value) Sets the specified value to theSQLidu
field.int
SQLiduRows
(int value) Sets the specified value to theSQLiduRows
field.int
SQLPrepares
(int value) Sets the specified value to theSQLPrepares
field.int
SQLSelectRows
(int value) Sets the specified value to theSQLSelectRows
field.int
SQLSelects
(int value) Sets the specified value to theSQLSelects
field.int
SumConnectionsOpened
(int value) Sets the specified value to theSumConnectionsOpened
field.int
SumConnectiontime
(int value) Sets the specified value to theSumConnectiontime
field.int
SumOpenStmt
(int value) Sets the specified value to theSumOpenStmt
field.int
TimerResolution
(int value) Sets the specified value to theTimerResolution
field.int
Transactions
(int value) Sets the specified value to theTransactions
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newSQLPERF.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
SQLPERF.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
TimerResolution
public int TimerResolution()- Returns:
- the value of the
TimerResolution
field.
-
SQLidu
public int SQLidu()- Returns:
- the value of the
SQLidu
field.
-
SQLiduRows
public int SQLiduRows()- Returns:
- the value of the
SQLiduRows
field.
-
SQLSelects
public int SQLSelects()- Returns:
- the value of the
SQLSelects
field.
-
SQLSelectRows
public int SQLSelectRows()- Returns:
- the value of the
SQLSelectRows
field.
-
Transactions
public int Transactions()- Returns:
- the value of the
Transactions
field.
-
SQLPrepares
public int SQLPrepares()- Returns:
- the value of the
SQLPrepares
field.
-
ExecDirects
public int ExecDirects()- Returns:
- the value of the
ExecDirects
field.
-
SQLExecutes
public int SQLExecutes()- Returns:
- the value of the
SQLExecutes
field.
-
CursorOpens
public int CursorOpens()- Returns:
- the value of the
CursorOpens
field.
-
CursorSize
public int CursorSize()- Returns:
- the value of the
CursorSize
field.
-
CursorUsed
public int CursorUsed()- Returns:
- the value of the
CursorUsed
field.
-
PercentCursorUsed
public double PercentCursorUsed()- Returns:
- the value of the
PercentCursorUsed
field.
-
AvgFetchTime
public double AvgFetchTime()- Returns:
- the value of the
AvgFetchTime
field.
-
AvgCursorSize
public double AvgCursorSize()- Returns:
- the value of the
AvgCursorSize
field.
-
AvgCursorUsed
public double AvgCursorUsed()- Returns:
- the value of the
AvgCursorUsed
field.
-
SQLFetchTime
public int SQLFetchTime()- Returns:
- the value of the
SQLFetchTime
field.
-
SQLFetchCount
public int SQLFetchCount()- Returns:
- the value of the
SQLFetchCount
field.
-
CurrentStmtCount
public int CurrentStmtCount()- Returns:
- the value of the
CurrentStmtCount
field.
-
MaxOpenStmt
public int MaxOpenStmt()- Returns:
- the value of the
MaxOpenStmt
field.
-
SumOpenStmt
public int SumOpenStmt()- Returns:
- the value of the
SumOpenStmt
field.
-
CurrentConnectionCount
public int CurrentConnectionCount()- Returns:
- the value of the
CurrentConnectionCount
field.
-
MaxConnectionsOpened
public int MaxConnectionsOpened()- Returns:
- the value of the
MaxConnectionsOpened
field.
-
SumConnectionsOpened
public int SumConnectionsOpened()- Returns:
- the value of the
SumConnectionsOpened
field.
-
SumConnectiontime
public int SumConnectiontime()- Returns:
- the value of the
SumConnectiontime
field.
-
AvgTimeOpened
public double AvgTimeOpened()- Returns:
- the value of the
AvgTimeOpened
field.
-
ServerRndTrips
public int ServerRndTrips()- Returns:
- the value of the
ServerRndTrips
field.
-
BuffersSent
public int BuffersSent()- Returns:
- the value of the
BuffersSent
field.
-
BuffersRec
public int BuffersRec()- Returns:
- the value of the
BuffersRec
field.
-
BytesSent
public int BytesSent()- Returns:
- the value of the
BytesSent
field.
-
BytesRec
public int BytesRec()- Returns:
- the value of the
BytesRec
field.
-
msExecutionTime
public int msExecutionTime()- Returns:
- the value of the
msExecutionTime
field.
-
msNetWorkServerTime
public int msNetWorkServerTime()- Returns:
- the value of the
msNetWorkServerTime
field.
-
TimerResolution
Sets the specified value to theTimerResolution
field. -
SQLidu
Sets the specified value to theSQLidu
field. -
SQLiduRows
Sets the specified value to theSQLiduRows
field. -
SQLSelects
Sets the specified value to theSQLSelects
field. -
SQLSelectRows
Sets the specified value to theSQLSelectRows
field. -
Transactions
Sets the specified value to theTransactions
field. -
SQLPrepares
Sets the specified value to theSQLPrepares
field. -
ExecDirects
Sets the specified value to theExecDirects
field. -
SQLExecutes
Sets the specified value to theSQLExecutes
field. -
CursorOpens
Sets the specified value to theCursorOpens
field. -
CursorSize
Sets the specified value to theCursorSize
field. -
CursorUsed
Sets the specified value to theCursorUsed
field. -
PercentCursorUsed
Sets the specified value to thePercentCursorUsed
field. -
AvgFetchTime
Sets the specified value to theAvgFetchTime
field. -
AvgCursorSize
Sets the specified value to theAvgCursorSize
field. -
AvgCursorUsed
Sets the specified value to theAvgCursorUsed
field. -
SQLFetchTime
Sets the specified value to theSQLFetchTime
field. -
SQLFetchCount
Sets the specified value to theSQLFetchCount
field. -
CurrentStmtCount
Sets the specified value to theCurrentStmtCount
field. -
MaxOpenStmt
Sets the specified value to theMaxOpenStmt
field. -
SumOpenStmt
Sets the specified value to theSumOpenStmt
field. -
CurrentConnectionCount
Sets the specified value to theCurrentConnectionCount
field. -
MaxConnectionsOpened
Sets the specified value to theMaxConnectionsOpened
field. -
SumConnectionsOpened
Sets the specified value to theSumConnectionsOpened
field. -
SumConnectiontime
Sets the specified value to theSumConnectiontime
field. -
AvgTimeOpened
Sets the specified value to theAvgTimeOpened
field. -
ServerRndTrips
Sets the specified value to theServerRndTrips
field. -
BuffersSent
Sets the specified value to theBuffersSent
field. -
BuffersRec
Sets the specified value to theBuffersRec
field. -
BytesSent
Sets the specified value to theBytesSent
field. -
BytesRec
Sets the specified value to theBytesRec
field. -
msExecutionTime
Sets the specified value to themsExecutionTime
field. -
msNetWorkServerTime
Sets the specified value to themsNetWorkServerTime
field.
-