Searched refs:RawObject (Results 1 - 25 of 31) sorted by relevance

12

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/impl/
H A DRawComplexInput.java13 import com.sleepycat.persist.raw.RawObject;
17 * CompositeKeyFormat) RawObject instances.
24 private RawObject[] objects;
31 RawObject[] objects) {
39 RawObject raw = objects[index];
H A DCollectionProxy.java23 import com.sleepycat.persist.raw.RawObject;
97 static Object[] getElements(RawObject collection) {
108 if (value == null || !(value instanceof RawObject)) {
113 RawObject rawObj = (RawObject) value;
123 static void setElements(RawObject collection, Object[] elements) {
124 RawObject value = null;
128 value = (RawObject) values.get("elements");
131 new RawObject(value.getType(), elements));
150 RawObject collectio
[all...]
H A DCatalog.java14 import com.sleepycat.persist.raw.RawObject;
93 Object convertRawObject(RawObject o, IdentityHashMap converted);
H A DRawArrayInput.java13 import com.sleepycat.persist.raw.RawObject;
17 * PrimitiveArrayteKeyFormat) RawObject instances.
30 RawObject raw,
H A DConverterReader.java12 import com.sleepycat.persist.raw.RawObject;
37 /* Create the old format RawObject. */
42 /* Read the old format RawObject's primary key. */
49 /* Read the old format RawObject and convert it. */
53 /* Convert the current format RawObject to a live Object. */
54 if (!rawAccess && o instanceof RawObject) {
55 o = catalog.convertRawObject((RawObject) o, null);
H A DPrimitiveArrayFormat.java16 import com.sleepycat.persist.raw.RawObject;
70 return new RawObject(this, new Object[len]);
79 Object[] a = ((RawObject) o).getElements();
92 Object[] a = ((RawObject) o).getElements();
105 RawObject rawObject,
H A DRawAccessor.java15 import com.sleepycat.persist.raw.RawObject;
18 * Implements Accessor for RawObject access.
52 RawObject superObject;
54 superObject = ((RawObject) superAccessor.newInstance());
58 return new RawObject
204 private RawObject getSuper(Object o) {
205 return ((RawObject) o).getSuper();
209 return ((RawObject) o).getValues().get(field.getName());
213 ((RawObject) o).getValues().put(field.getName(), val);
H A DReadOnlyCatalog.java16 import com.sleepycat.persist.raw.RawObject;
80 public Object convertRawObject(RawObject o, IdentityHashMap converted) {
H A DObjectArrayFormat.java17 import com.sleepycat.persist.raw.RawObject;
106 return new RawObject(this, new Object[len]);
116 a = ((RawObject) o).getElements();
130 a = ((RawObject) o).getElements();
143 RawObject rawObject,
H A DRawAbstractInput.java14 import com.sleepycat.persist.raw.RawObject;
17 * Base class for EntityInput implementations that type-check RawObject
86 if (o instanceof RawObject) {
99 o = catalog.convertRawObject((RawObject) o, converted);
106 " must be RawObject a simple type");
128 if (o instanceof RawObject) {
129 format = (Format) ((RawObject) o).getType();
134 ("Not a RawObject or a non-enum simple type: " +
H A DRecordOutput.java12 import com.sleepycat.persist.raw.RawObject;
123 if (o instanceof RawObject) {
124 format = (Format) ((RawObject) o).getType();
H A DEnumFormat.java19 import com.sleepycat.persist.raw.RawObject;
83 return new RawObject(this, names[index]);
98 String name = ((RawObject) o).getEnum();
119 RawObject rawObject,
H A DPersistEntityBinding.java15 import com.sleepycat.persist.raw.RawObject;
149 if (!(entity instanceof RawObject)) {
151 ("Entity must be a RawObject");
153 format = (Format) ((RawObject) entity).getType();
H A DPersistKeyCreator.java24 import com.sleepycat.persist.raw.RawObject;
118 RawObject entity = (RawObject) PersistEntityBinding.readEntity
H A DCompositeKeyFormat.java21 import com.sleepycat.persist.raw.RawObject;
225 RawObject rawObject,
242 ("RawObject has too many superclasses: " +
245 RawObject[] objects = new RawObject[myFields.length];
H A DProxiedFormat.java17 import com.sleepycat.persist.raw.RawObject;
122 RawObject rawObject,
H A DFormat.java22 import com.sleepycat.persist.raw.RawObject;
861 * Nullifies the given key field in the given RawObject -- rawAccess mode
917 * Converts a RawObject to a current class object and adds the converted
922 RawObject rawObject,
H A DSimpleCatalog.java19 import com.sleepycat.persist.raw.RawObject;
253 public Object convertRawObject(RawObject o, IdentityHashMap converted) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/raw/
H A DRawStore.java24 * or, for composite keys, as {@link RawObject} instances, and entities are
25 * represented as {@link RawObject} instances.
71 public PrimaryIndex<Object,RawObject> getPrimaryIndex(String entityClass)
75 (Object.class, null, RawObject.class, entityClass);
82 public SecondaryIndex<Object,Object,RawObject>
87 (getPrimaryIndex(entityClass), RawObject.class, entityClass,
H A DRawObject.java6 * $Id: RawObject.java,v 1.1 2008/02/07 17:12:28 mark Exp $
20 * Conversion}. A <code>RawObject</code> is used to represent instances of
26 * <p>{@code RawObject} objects are thread-safe. Multiple threads may safely
27 * call the methods of a shared {@code RawObject} object.</p>
31 public class RawObject { class
39 private RawObject superObject;
49 * {@link RawObject}, a {@link <a
58 public RawObject(RawType type, method in class:RawObject
60 RawObject superObject) {
75 * {@link RawObject},
82 public RawObject(RawType type, Object[] elements) { method in class:RawObject
101 public RawObject(RawType type, String enumConstant) { method in class:RawObject
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/evolve/
H A DConversion.java14 import com.sleepycat.persist.raw.RawObject;
147 * return new RawObject(addressType, addressValues, null);
168 * <p>Note that when a conversion returns a {@link RawObject}, it must return
221 * RawObject person = (RawObject) fromValue;
224 * RawObject address = new RawObject(addressType, addressValues, null);
234 * return new RawObject(newPersonType, personValues, person.getSuper());
290 * RawObject oldA = (RawObject) fromValu
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/test/scr024/src/com/sleepycat/persist/test/
H A DEvolveClasses.java40 import com.sleepycat.persist.raw.RawObject;
59 private static RawObject readRaw(RawStore store,
68 PrimaryIndex<Object,RawObject> index =
72 RawObject obj = index.get(key);
77 RawObject superObj = obj.getSuper();
112 private static void checkRawFields(RawObject obj,
166 RawObject obj = readRaw(store, 99, NAME, 0, CASECLS, 0);
210 RawObject obj = readRaw(store, 99, NAME, 0, CASECLS, 0);
244 RawObject obj = readRaw(store, 99, NAME, 0, CASECLS, 0);
305 RawObject ob
[all...]
H A DIndexTest.java41 import com.sleepycat.persist.raw.RawObject;
70 private PrimaryIndex<Object,RawObject> primaryRaw;
71 private SecondaryIndex<Object,Object,RawObject> oneToOneRaw;
72 private SecondaryIndex<Object,Object,RawObject> manyToOneRaw;
73 private SecondaryIndex<Object,Object,RawObject> oneToManyRaw;
74 private SecondaryIndex<Object,Object,RawObject> manyToManyRaw;
339 SecondaryIndex<Object,Object,RawObject> indexRaw,
375 SecondaryIndex<Object,Object,RawObject>
796 private static Getter<RawObject> rawEntityGetter =
797 new Getter<RawObject>() {
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/examples_java/src/persist/
H A DDplDump.java23 import com.sleepycat.persist.raw.RawObject;
135 PrimaryIndex<Object,RawObject> index =
137 EntityCursor<RawObject> entities = index.entities();
138 for (RawObject entity : entities) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/java/src/com/sleepycat/persist/model/
H A DEntityModel.java21 import com.sleepycat.persist.raw.RawObject;
221 * However, the raw type ({@link RawObject#getType}) is allowed to be from
226 public final Object convertRawObject(RawObject raw) {

Completed in 147 milliseconds

12