Package org.lwjgl.odbc
Class SQLPERF.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<SQLPERF,SQLPERF.Buffer>
-
- org.lwjgl.odbc.SQLPERF.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<SQLPERF>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- SQLPERF
public static class SQLPERF.Buffer extends org.lwjgl.system.StructBuffer<SQLPERF,SQLPERF.Buffer> implements org.lwjgl.system.NativeResource
An array ofSQLPERF
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
AvgCursorSize()
Returns the value of theAvgCursorSize
field.SQLPERF.Buffer
AvgCursorSize(double value)
Sets the specified value to theAvgCursorSize
field.double
AvgCursorUsed()
Returns the value of theAvgCursorUsed
field.SQLPERF.Buffer
AvgCursorUsed(double value)
Sets the specified value to theAvgCursorUsed
field.double
AvgFetchTime()
Returns the value of theAvgFetchTime
field.SQLPERF.Buffer
AvgFetchTime(double value)
Sets the specified value to theAvgFetchTime
field.double
AvgTimeOpened()
Returns the value of theAvgTimeOpened
field.SQLPERF.Buffer
AvgTimeOpened(double value)
Sets the specified value to theAvgTimeOpened
field.int
BuffersRec()
Returns the value of theBuffersRec
field.SQLPERF.Buffer
BuffersRec(int value)
Sets the specified value to theBuffersRec
field.int
BuffersSent()
Returns the value of theBuffersSent
field.SQLPERF.Buffer
BuffersSent(int value)
Sets the specified value to theBuffersSent
field.int
BytesRec()
Returns the value of theBytesRec
field.SQLPERF.Buffer
BytesRec(int value)
Sets the specified value to theBytesRec
field.int
BytesSent()
Returns the value of theBytesSent
field.SQLPERF.Buffer
BytesSent(int value)
Sets the specified value to theBytesSent
field.int
CurrentConnectionCount()
Returns the value of theCurrentConnectionCount
field.SQLPERF.Buffer
CurrentConnectionCount(int value)
Sets the specified value to theCurrentConnectionCount
field.int
CurrentStmtCount()
Returns the value of theCurrentStmtCount
field.SQLPERF.Buffer
CurrentStmtCount(int value)
Sets the specified value to theCurrentStmtCount
field.int
CursorOpens()
Returns the value of theCursorOpens
field.SQLPERF.Buffer
CursorOpens(int value)
Sets the specified value to theCursorOpens
field.int
CursorSize()
Returns the value of theCursorSize
field.SQLPERF.Buffer
CursorSize(int value)
Sets the specified value to theCursorSize
field.int
CursorUsed()
Returns the value of theCursorUsed
field.SQLPERF.Buffer
CursorUsed(int value)
Sets the specified value to theCursorUsed
field.int
ExecDirects()
Returns the value of theExecDirects
field.SQLPERF.Buffer
ExecDirects(int value)
Sets the specified value to theExecDirects
field.int
MaxConnectionsOpened()
Returns the value of theMaxConnectionsOpened
field.SQLPERF.Buffer
MaxConnectionsOpened(int value)
Sets the specified value to theMaxConnectionsOpened
field.int
MaxOpenStmt()
Returns the value of theMaxOpenStmt
field.SQLPERF.Buffer
MaxOpenStmt(int value)
Sets the specified value to theMaxOpenStmt
field.int
msExecutionTime()
Returns the value of themsExecutionTime
field.SQLPERF.Buffer
msExecutionTime(int value)
Sets the specified value to themsExecutionTime
field.int
msNetWorkServerTime()
Returns the value of themsNetWorkServerTime
field.SQLPERF.Buffer
msNetWorkServerTime(int value)
Sets the specified value to themsNetWorkServerTime
field.double
PercentCursorUsed()
Returns the value of thePercentCursorUsed
field.SQLPERF.Buffer
PercentCursorUsed(double value)
Sets the specified value to thePercentCursorUsed
field.int
ServerRndTrips()
Returns the value of theServerRndTrips
field.SQLPERF.Buffer
ServerRndTrips(int value)
Sets the specified value to theServerRndTrips
field.int
SQLExecutes()
Returns the value of theSQLExecutes
field.SQLPERF.Buffer
SQLExecutes(int value)
Sets the specified value to theSQLExecutes
field.int
SQLFetchCount()
Returns the value of theSQLFetchCount
field.SQLPERF.Buffer
SQLFetchCount(int value)
Sets the specified value to theSQLFetchCount
field.int
SQLFetchTime()
Returns the value of theSQLFetchTime
field.SQLPERF.Buffer
SQLFetchTime(int value)
Sets the specified value to theSQLFetchTime
field.int
SQLidu()
Returns the value of theSQLidu
field.SQLPERF.Buffer
SQLidu(int value)
Sets the specified value to theSQLidu
field.int
SQLiduRows()
Returns the value of theSQLiduRows
field.SQLPERF.Buffer
SQLiduRows(int value)
Sets the specified value to theSQLiduRows
field.int
SQLPrepares()
Returns the value of theSQLPrepares
field.SQLPERF.Buffer
SQLPrepares(int value)
Sets the specified value to theSQLPrepares
field.int
SQLSelectRows()
Returns the value of theSQLSelectRows
field.SQLPERF.Buffer
SQLSelectRows(int value)
Sets the specified value to theSQLSelectRows
field.int
SQLSelects()
Returns the value of theSQLSelects
field.SQLPERF.Buffer
SQLSelects(int value)
Sets the specified value to theSQLSelects
field.int
SumConnectionsOpened()
Returns the value of theSumConnectionsOpened
field.SQLPERF.Buffer
SumConnectionsOpened(int value)
Sets the specified value to theSumConnectionsOpened
field.int
SumConnectiontime()
Returns the value of theSumConnectiontime
field.SQLPERF.Buffer
SumConnectiontime(int value)
Sets the specified value to theSumConnectiontime
field.int
SumOpenStmt()
Returns the value of theSumOpenStmt
field.SQLPERF.Buffer
SumOpenStmt(int value)
Sets the specified value to theSumOpenStmt
field.int
TimerResolution()
Returns the value of theTimerResolution
field.SQLPERF.Buffer
TimerResolution(int value)
Sets the specified value to theTimerResolution
field.int
Transactions()
Returns the value of theTransactions
field.SQLPERF.Buffer
Transactions(int value)
Sets the specified value to theTransactions
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 bySQLPERF.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 Detail
-
TimerResolution
public int TimerResolution()
Returns the value of theTimerResolution
field.
-
SQLidu
public int SQLidu()
Returns the value of theSQLidu
field.
-
SQLiduRows
public int SQLiduRows()
Returns the value of theSQLiduRows
field.
-
SQLSelects
public int SQLSelects()
Returns the value of theSQLSelects
field.
-
SQLSelectRows
public int SQLSelectRows()
Returns the value of theSQLSelectRows
field.
-
Transactions
public int Transactions()
Returns the value of theTransactions
field.
-
SQLPrepares
public int SQLPrepares()
Returns the value of theSQLPrepares
field.
-
ExecDirects
public int ExecDirects()
Returns the value of theExecDirects
field.
-
SQLExecutes
public int SQLExecutes()
Returns the value of theSQLExecutes
field.
-
CursorOpens
public int CursorOpens()
Returns the value of theCursorOpens
field.
-
CursorSize
public int CursorSize()
Returns the value of theCursorSize
field.
-
CursorUsed
public int CursorUsed()
Returns the value of theCursorUsed
field.
-
PercentCursorUsed
public double PercentCursorUsed()
Returns the value of thePercentCursorUsed
field.
-
AvgFetchTime
public double AvgFetchTime()
Returns the value of theAvgFetchTime
field.
-
AvgCursorSize
public double AvgCursorSize()
Returns the value of theAvgCursorSize
field.
-
AvgCursorUsed
public double AvgCursorUsed()
Returns the value of theAvgCursorUsed
field.
-
SQLFetchTime
public int SQLFetchTime()
Returns the value of theSQLFetchTime
field.
-
SQLFetchCount
public int SQLFetchCount()
Returns the value of theSQLFetchCount
field.
-
CurrentStmtCount
public int CurrentStmtCount()
Returns the value of theCurrentStmtCount
field.
-
MaxOpenStmt
public int MaxOpenStmt()
Returns the value of theMaxOpenStmt
field.
-
SumOpenStmt
public int SumOpenStmt()
Returns the value of theSumOpenStmt
field.
-
CurrentConnectionCount
public int CurrentConnectionCount()
Returns the value of theCurrentConnectionCount
field.
-
MaxConnectionsOpened
public int MaxConnectionsOpened()
Returns the value of theMaxConnectionsOpened
field.
-
SumConnectionsOpened
public int SumConnectionsOpened()
Returns the value of theSumConnectionsOpened
field.
-
SumConnectiontime
public int SumConnectiontime()
Returns the value of theSumConnectiontime
field.
-
AvgTimeOpened
public double AvgTimeOpened()
Returns the value of theAvgTimeOpened
field.
-
ServerRndTrips
public int ServerRndTrips()
Returns the value of theServerRndTrips
field.
-
BuffersSent
public int BuffersSent()
Returns the value of theBuffersSent
field.
-
BuffersRec
public int BuffersRec()
Returns the value of theBuffersRec
field.
-
BytesSent
public int BytesSent()
Returns the value of theBytesSent
field.
-
BytesRec
public int BytesRec()
Returns the value of theBytesRec
field.
-
msExecutionTime
public int msExecutionTime()
Returns the value of themsExecutionTime
field.
-
msNetWorkServerTime
public int msNetWorkServerTime()
Returns the value of themsNetWorkServerTime
field.
-
TimerResolution
public SQLPERF.Buffer TimerResolution(int value)
Sets the specified value to theTimerResolution
field.
-
SQLidu
public SQLPERF.Buffer SQLidu(int value)
Sets the specified value to theSQLidu
field.
-
SQLiduRows
public SQLPERF.Buffer SQLiduRows(int value)
Sets the specified value to theSQLiduRows
field.
-
SQLSelects
public SQLPERF.Buffer SQLSelects(int value)
Sets the specified value to theSQLSelects
field.
-
SQLSelectRows
public SQLPERF.Buffer SQLSelectRows(int value)
Sets the specified value to theSQLSelectRows
field.
-
Transactions
public SQLPERF.Buffer Transactions(int value)
Sets the specified value to theTransactions
field.
-
SQLPrepares
public SQLPERF.Buffer SQLPrepares(int value)
Sets the specified value to theSQLPrepares
field.
-
ExecDirects
public SQLPERF.Buffer ExecDirects(int value)
Sets the specified value to theExecDirects
field.
-
SQLExecutes
public SQLPERF.Buffer SQLExecutes(int value)
Sets the specified value to theSQLExecutes
field.
-
CursorOpens
public SQLPERF.Buffer CursorOpens(int value)
Sets the specified value to theCursorOpens
field.
-
CursorSize
public SQLPERF.Buffer CursorSize(int value)
Sets the specified value to theCursorSize
field.
-
CursorUsed
public SQLPERF.Buffer CursorUsed(int value)
Sets the specified value to theCursorUsed
field.
-
PercentCursorUsed
public SQLPERF.Buffer PercentCursorUsed(double value)
Sets the specified value to thePercentCursorUsed
field.
-
AvgFetchTime
public SQLPERF.Buffer AvgFetchTime(double value)
Sets the specified value to theAvgFetchTime
field.
-
AvgCursorSize
public SQLPERF.Buffer AvgCursorSize(double value)
Sets the specified value to theAvgCursorSize
field.
-
AvgCursorUsed
public SQLPERF.Buffer AvgCursorUsed(double value)
Sets the specified value to theAvgCursorUsed
field.
-
SQLFetchTime
public SQLPERF.Buffer SQLFetchTime(int value)
Sets the specified value to theSQLFetchTime
field.
-
SQLFetchCount
public SQLPERF.Buffer SQLFetchCount(int value)
Sets the specified value to theSQLFetchCount
field.
-
CurrentStmtCount
public SQLPERF.Buffer CurrentStmtCount(int value)
Sets the specified value to theCurrentStmtCount
field.
-
MaxOpenStmt
public SQLPERF.Buffer MaxOpenStmt(int value)
Sets the specified value to theMaxOpenStmt
field.
-
SumOpenStmt
public SQLPERF.Buffer SumOpenStmt(int value)
Sets the specified value to theSumOpenStmt
field.
-
CurrentConnectionCount
public SQLPERF.Buffer CurrentConnectionCount(int value)
Sets the specified value to theCurrentConnectionCount
field.
-
MaxConnectionsOpened
public SQLPERF.Buffer MaxConnectionsOpened(int value)
Sets the specified value to theMaxConnectionsOpened
field.
-
SumConnectionsOpened
public SQLPERF.Buffer SumConnectionsOpened(int value)
Sets the specified value to theSumConnectionsOpened
field.
-
SumConnectiontime
public SQLPERF.Buffer SumConnectiontime(int value)
Sets the specified value to theSumConnectiontime
field.
-
AvgTimeOpened
public SQLPERF.Buffer AvgTimeOpened(double value)
Sets the specified value to theAvgTimeOpened
field.
-
ServerRndTrips
public SQLPERF.Buffer ServerRndTrips(int value)
Sets the specified value to theServerRndTrips
field.
-
BuffersSent
public SQLPERF.Buffer BuffersSent(int value)
Sets the specified value to theBuffersSent
field.
-
BuffersRec
public SQLPERF.Buffer BuffersRec(int value)
Sets the specified value to theBuffersRec
field.
-
BytesSent
public SQLPERF.Buffer BytesSent(int value)
Sets the specified value to theBytesSent
field.
-
BytesRec
public SQLPERF.Buffer BytesRec(int value)
Sets the specified value to theBytesRec
field.
-
msExecutionTime
public SQLPERF.Buffer msExecutionTime(int value)
Sets the specified value to themsExecutionTime
field.
-
msNetWorkServerTime
public SQLPERF.Buffer msNetWorkServerTime(int value)
Sets the specified value to themsNetWorkServerTime
field.
-
-