org.infinispan.schematic.internal.document
Interface DocumentValueFactory
- All Known Implementing Classes:
- DefaultDocumentValueFactory
public interface DocumentValueFactory
createString
String createString(String value)
createInt
Integer createInt(int value)
createLong
Long createLong(long value)
createBoolean
Boolean createBoolean(boolean value)
createDouble
Double createDouble(double value)
createDate
Date createDate(String iso)
throws ParseException
- Throws:
ParseException
createDate
Date createDate(long millis)
createTimestamp
Timestamp createTimestamp(int time,
int inc)
createObjectId
ObjectId createObjectId(String hex)
createObjectId
ObjectId createObjectId(byte[] bytes)
createObjectId
ObjectId createObjectId(int time,
int machine,
int process,
int inc)
createSymbol
Symbol createSymbol(String value)
createRegex
Pattern createRegex(String pattern,
String flags)
createRegex
Pattern createRegex(String pattern,
int flags)
createNull
Object createNull()
createBinary
Binary createBinary(byte type,
byte[] data)
createUuid
UUID createUuid(String uuid)
createUuid
UUID createUuid(long part1,
long part2)
createCode
Code createCode(String code)
createCode
CodeWithScope createCode(String code,
Document scope)
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.