public class IfxLobDescriptor
extends java.lang.Object
The IfxLobDescriptor class stores the internal characteristics of a smart large object. Before you can create a large object on the database server, you must create an IfxLobDescriptor object.
Modifier and Type | Field and Description |
---|---|
static short |
LO_DELAY_LOG
The Lob Descriptor LO_DELAY_LOG flag.
|
static short |
LO_HIGH_INTEG
The Lob Descriptor LO_HIGH_INTEG flag.
|
static short |
LO_KEEP_LASTACCESS_TIME
The Lob Descriptor LO_KEEP_LASTACCESS_TIME flag.
|
static short |
LO_LOG
The Lob Descriptor LO_LOG flag.
|
static short |
LO_MODERATE_INTEG
The Lob Descriptor LO_MODERATE_INTEG flag.
|
static short |
LO_NOKEEP_LASTACCESS_TIME
The Lob Descriptor LO_NOKEEP_LASTACCESS_TIME flag.
|
static short |
LO_NOLOG
The Lob Descriptor LO_NOLOG flag.
|
static short |
LO_TEMP
The Lob Descriptor LO_TEMP flag.
|
Constructor and Description |
---|
IfxLobDescriptor(java.sql.Connection conn)
Creates an IfxLobDescriptor object in preparation
for creating a smart large object.
|
Modifier and Type | Method and Description |
---|---|
int |
getCreateFlags()
Gets the create time flags for the smart large object.
|
long |
getEstSize()
Gets the estimated size (in bytes) of the smart large object.
|
int |
getExtSize()
Gets the extent size of the smart large object.
|
long |
getMaxBytes()
Gets the maximum size of the smart large object.
|
java.lang.String |
getSbspace()
Gets the sbspace name of the smart large object.
|
void |
setCreateFlags(int flags)
Sets the create time flags for smart large object.
|
void |
setEstBytes(long estSize)
Sets the estimated size, in bytes, of the smart large object.
|
void |
setExtSize(int extSize)
Sets the extent size for the smart large object.
|
void |
setMaxBytes(long maxSize)
Sets the maximum size for the smart large object (in bytes).
|
void |
setSbspace(java.lang.String name)
Sets the sbspace name for the smart large object.
|
java.lang.String |
toString()
Returns CreateTimeFlags, estimatedNoBytes, sizeLimit, extentSize,
and spaceName information
|
public static final short LO_LOG
The Lob Descriptor LO_LOG flag. Refer to the Informix SQL manual for more details.
public static final short LO_NOLOG
The Lob Descriptor LO_NOLOG flag. Refer to the Informix SQL manual for more details.
public static final short LO_DELAY_LOG
The Lob Descriptor LO_DELAY_LOG flag. Refer to the Informix SQL manual for more details.
public static final short LO_KEEP_LASTACCESS_TIME
The Lob Descriptor LO_KEEP_LASTACCESS_TIME flag. Refer to the Informix SQL manual for more details.
public static final short LO_NOKEEP_LASTACCESS_TIME
The Lob Descriptor LO_NOKEEP_LASTACCESS_TIME flag. Refer to the Informix SQL manual for more details.
public static final short LO_HIGH_INTEG
The Lob Descriptor LO_HIGH_INTEG flag. Refer to the Informix SQL manual for more details.
public static final short LO_MODERATE_INTEG
The Lob Descriptor LO_MODERATE_INTEG flag. Refer to the Informix SQL manual for more details.
public static final short LO_TEMP
The Lob Descriptor LO_TEMP flag. Refer to the Informix SQL manual for more details.
public IfxLobDescriptor(java.sql.Connection conn) throws java.sql.SQLException
conn
- the java.sql.Connection object the JDBC driver uses
to connect to the database.java.sql.SQLException
public void setCreateFlags(int flags)
Sets the create time flags for smart large object.
flags
- the create time flagsLO_LOG
,
LO_NOLOG
,
LO_DELAY_LOG
,
LO_KEEP_LASTACCESS_TIME
,
LO_NOKEEP_LASTACCESS_TIME
,
LO_HIGH_INTEG
,
LO_MODERATE_INTEG
,
LO_TEMP
public void setEstBytes(long estSize)
Sets the estimated size, in bytes, of the smart large object.
estSize
- the estimated sizepublic void setMaxBytes(long maxSize)
Sets the maximum size for the smart large object (in bytes).
maxSize
- the maximum sizepublic void setExtSize(int extSize)
Sets the extent size for the smart large object.
extSize
- the extent sizepublic void setSbspace(java.lang.String name)
Sets the sbspace name for the smart large object.
name
- the sbspace name for the smart large objectpublic int getCreateFlags()
Gets the create time flags for the smart large object.
LO_LOG
,
LO_NOLOG
,
LO_DELAY_LOG
,
LO_KEEP_LASTACCESS_TIME
,
LO_NOKEEP_LASTACCESS_TIME
,
LO_HIGH_INTEG
,
LO_MODERATE_INTEG
public long getEstSize()
Gets the estimated size (in bytes) of the smart large object.
public long getMaxBytes()
Gets the maximum size of the smart large object.
public int getExtSize()
Gets the extent size of the smart large object.
public java.lang.String getSbspace()
Gets the sbspace name of the smart large object.
public java.lang.String toString()
toString
in class java.lang.Object