|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.search.query.webservice.client.SortAttribute
public class SortAttribute
SortAttribute represents the grouping settings of a document attribute.
Constructor Summary | |
---|---|
SortAttribute() |
|
SortAttribute(String attributeName) Create a SortAttribute with the default sort option and sort order. |
|
SortAttribute(String attributeName, String sortOption, boolean isAscending) |
Method Summary | |
---|---|
String |
getAttributeName() Returns the attribute name used for sorting. |
boolean |
getIsAscending() Returns the sorting order. |
String |
getSortOption() Returns the sorting option. |
boolean |
isIsAscending() |
void |
setAttributeName(String attributeName) Sets the attribute used for sorting. |
void |
setIsAscending(boolean isAscending) Sets the sorting order. |
void |
setSortOption(String sortOption) Sets the sort option. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortAttribute()
public SortAttribute(String attributeName, String sortOption, boolean isAscending)
attributeName
- name of the grouping attributesortOption
- Oracle monolingual and multilingual linguistic sorts like "XGERMAN" or "GENERIC_M". Common Monolingual options are: ASCII, BINARY, BIG5, DUTCH, FRENCH, GERMAN, ITALIAN, etc. Common Multilingual options are: CANADIAN_M Canadian French sort supports reverse secondary, special expanding characters DANISH_M Danish sort supports sorting lowercase characters before uppercase characters FRENCH_M French sort supports reverse sort for secondary GENERIC_M Generic sorting order which is based on ISO14651 and Unicode canonical equivalence rules but excludes compatible equivalence rules JAPANESE_M Japanese sort supports SJIS character set order and EUC characters which are not included in SJIS KOREAN_M Korean sort: Hangul characters are based on Unicode binary order. Hanja characters based on pronunciation order. All Hangul characters are before Hanja characters SPANISH_M Traditional Spanish sort supports special contracting characters THAI_M Thai sort supports swap characters for some vowels and consonants SCHINESE_RADICAL_M Simplified Chinese sort uses radical as primary order and number of strokes as secondary order. SCHINESE_STROKE_M Simplified Chinese sort uses number of strokes as primary order and radical as secondary order SCHINESE_PINYIN_M Simplified Chinese PinYin sorting order TCHINESE_RADICAL_M Traditional Chinese sort uses radical as primary order and number of strokes as secondary order TCHINESE_STROKE_M Traditional Chinese sort uses number of strokes as primary order and radical as secondary order. It supports supplementary characters. See Oracle Database Globalization Support Guide Appendix A "Linguistic Sorts" Table A-11isAscending
- sorts in ascending orderpublic SortAttribute(String attributeName)
attributeName
- name of the grouping attributeMethod Detail |
---|
public String getAttributeName()
public void setAttributeName(String attributeName)
attributeName
- the sorting attributepublic String getSortOption()
public boolean getIsAscending()
public boolean isIsAscending()
public void setIsAscending(boolean isAscending)
isAscending
- sort the value from smallest to the largestpublic void setSortOption(String sortOption)
sortOption
- sort option: "BINARY" sorting is based on the ASCII value * of the character and is the current supported option. based on the ascii value of the character.
|
Oracle Secure Enterprise Search Java API Reference 11g Release 1 (11.1.2.0.0) E14433-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |