public final class KeySegment
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
SEGMENT_BUS |
static int |
SEGMENT_CASE_INSENSITIVE |
static int |
SEGMENT_NORMAL |
static int |
SEGMENT_ORDERED_NUMERIC |
Constructor and Description |
---|
KeySegment() |
KeySegment(int p_fieldNumber,
int p_offset,
int p_length,
boolean p_descending,
boolean p_bus)
Deprecated.
|
KeySegment(int p_fieldNumber,
int p_offset,
int p_length,
boolean p_descending,
int p_special)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object p_other) |
int |
getField()
Get field.
|
int |
getLength()
Get length.
|
int |
getOffset()
Get offset.
|
int |
getSpecialType()
Get special type.
|
int |
hashCode() |
boolean |
isBUS()
Get bus.
|
boolean |
isCaseInsensitive()
Get case insensitive.
|
boolean |
isDescending()
Get descending.
|
boolean |
isNormal()
Is this segment normal.
|
boolean |
isNumeric()
Deprecated.
|
boolean |
isOrderedNumeric()
Get ordered numeric.
|
java.lang.String |
toString() |
public static final int SEGMENT_NORMAL
public static final int SEGMENT_BUS
public static final int SEGMENT_ORDERED_NUMERIC
public static final int SEGMENT_CASE_INSENSITIVE
public KeySegment()
@Deprecated public KeySegment(int p_fieldNumber, int p_offset, int p_length, boolean p_descending, boolean p_bus) throws FilesystemException
p_fieldNumber
- Number of field to start segment on -- start at beginning of
record if 0.p_offset
- Offset within field to start at.p_length
- How many bytes the segment consists of.p_descending
- If true then segment is descending.p_bus
- If true the segment is an 8 byte business math value.FilesystemException
- If a filesystem problem occurs.public KeySegment(int p_fieldNumber, int p_offset, int p_length, boolean p_descending, int p_special) throws FilesystemException
p_fieldNumber
- Number of field to start segment on -- start at beginning of
record if 0.p_offset
- Offset within field to start at.p_length
- How many bytes the segment consists of.p_descending
- If true then segment is descending.p_special
- Special segment type.FilesystemException
- If a filesystem problem occurs.public boolean equals(java.lang.Object p_other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int getSpecialType()
public int getField()
public int getOffset()
public int getLength()
public boolean isDescending()
public boolean isBUS()
@Deprecated public boolean isNumeric()
public boolean isOrderedNumeric()
public boolean isCaseInsensitive()
public boolean isNormal()
public java.lang.String toString()
toString
in class java.lang.Object