|
Oracle Ultra Search Java API Reference 9.0.3 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
UrlData is an interface used by a crawler agent to submit URL-related data to the crawler.
| Field Summary | |
static int |
ACCESS_URLAccess URL property of a document |
static int |
ATTR_DATEDate attribute data type |
static int |
ATTR_NUMBERNumber attribute data type |
static int |
ATTR_STRINGString attribute data type |
static int |
DELETEDDelete flag |
static int |
DISPLAY_URLDisplay URL property of a document |
static int |
DOC_KEYDocument key of a document |
static java.lang.String |
FALSEProperty value is false |
static int |
LANGUAGELanguage of a document |
static int |
PARSE_DOCParsing document for attribute value |
static java.lang.String |
TRUEProperty value is true |
| Method Summary | |
void |
addAttribute(java.lang.String name, java.math.BigDecimal value)Add an attribute value whose type is number |
void |
addAttribute(java.lang.String name, java.sql.Date value)Add an attribute value whose type is java.sql.Date |
void |
addAttribute(java.lang.String name, java.lang.String value)Add an attribute value whose type is string |
void |
clearData()Clear all URL data |
java.lang.String |
getAttributeName(int attrIndex)Get the name of the specified attribute |
int |
getAttributeType(int attrIndex)Get the data type of the specified attribute |
java.util.Enumeration |
getAttributeValues(int attrIndex)Get the list of values for a specified attribute |
int |
getNumAttributes()Get number of attributes |
int |
getNumAttrValues()Get number of attribute values |
java.lang.String |
getProperty(int name)Get the value of an URL data property |
void |
setProperty(int name, java.lang.String value)Set the value of a document property |
| Field Detail |
public static final int DISPLAY_URL
public static final int ACCESS_URL
public static final int DOC_KEY
public static final int LANGUAGE
public static final int PARSE_DOC
public static final int DELETED
public static final int ATTR_STRING
public static final int ATTR_NUMBER
public static final int ATTR_DATE
public static final java.lang.String TRUE
public static final java.lang.String FALSE
| Method Detail |
public void setProperty(int name,
java.lang.String value)
name - the name of the propertyvalue - the value of the propertypublic java.lang.String getProperty(int name)
name - the name of the property
public void addAttribute(java.lang.String name,
java.math.BigDecimal value)
name - the name of the attributevalue - the value of the attribute
public void addAttribute(java.lang.String name,
java.sql.Date value)
name - the name of the attributevalue - the value of the attribute
public void addAttribute(java.lang.String name,
java.lang.String value)
name - the name of the attributevalue - the value of the attributepublic int getNumAttributes()
public int getNumAttrValues()
public java.lang.String getAttributeName(int attrIndex)
attrIndex - 0 based index indicating which attributepublic int getAttributeType(int attrIndex)
attrIndex - 0 based index indicating which attributepublic java.util.Enumeration getAttributeValues(int attrIndex)
attrIndex - 0 based index indicating which attributepublic void clearData()
|
Oracle Ultra Search Java API Reference 9.0.3 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||