Package com.yahoo.document
Class DocumentPut
java.lang.Object
com.yahoo.document.DocumentOperation
com.yahoo.document.DocumentPut
- Author:
- Vegard Sjonfjell
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentPut(Document document) DocumentPut(DocumentPut other) Copy constructorDocumentPut(DocumentPut other, Document newDocument) Base this DocumentPut on another, but use newDocument as the Document.DocumentPut(DocumentType docType, DocumentId docId) DocumentPut(DocumentType docType, String docId) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleangetId()inthashCode()voidsetCreateIfNonExistent(boolean value) toString()Methods inherited from class com.yahoo.document.DocumentOperation
getCondition, setCondition
-
Constructor Details
-
DocumentPut
-
DocumentPut
-
DocumentPut
-
DocumentPut
Copy constructor- Parameters:
other- the DocumentPut to copy
-
DocumentPut
Base this DocumentPut on another, but use newDocument as the Document.
-
-
Method Details
-
getDocument
-
getId
- Specified by:
getIdin classDocumentOperation
-
equals
-
hashCode
public int hashCode() -
toString
-
setCreateIfNonExistent
public void setCreateIfNonExistent(boolean value) -
getCreateIfNonExistent
public boolean getCreateIfNonExistent()
-