From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 17 Feb 2015 17:25:57 +0000 Subject: Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz. --- .../sleepycat/collections/TupleSerialFactory.html | 728 ++++++++++----------- 1 file changed, 340 insertions(+), 388 deletions(-) (limited to 'docs/java/com/sleepycat/collections/TupleSerialFactory.html') diff --git a/docs/java/com/sleepycat/collections/TupleSerialFactory.html b/docs/java/com/sleepycat/collections/TupleSerialFactory.html index 8d354727..7136ff95 100644 --- a/docs/java/com/sleepycat/collections/TupleSerialFactory.html +++ b/docs/java/com/sleepycat/collections/TupleSerialFactory.html @@ -1,412 +1,364 @@ - - - - - -TupleSerialFactory (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.collections -
-Class TupleSerialFactory

-
-java.lang.Object
-  extended by com.sleepycat.collections.TupleSerialFactory
-
-
-
-
public class TupleSerialFactory
extends Object
- - -

-Creates stored collections having tuple keys and serialized entity values. +

+
com.sleepycat.collections
+

Class TupleSerialFactory

+
+
+ +
+
    +
  • +
    +
    +
    public class TupleSerialFactory
    +extends java.lang.Object
    +
    Creates stored collections having tuple keys and serialized entity values. The entity classes must be Serializable and must implement the MarshalledTupleKeyEntity interfaces. The key classes must either implement the MarshalledTupleEntry interface or be one of the Java primitive type - classes. Underlying binding objects are created automatically. -

    - -

    -


    - -

    - + classes. Underlying binding objects are created automatically.

    +
  • +
+
+
+ +
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -TupleSerialFactory

    -
    -public TupleSerialFactory(ClassCatalog catalog)
    -
    -
    Creates a tuple-serial factory for given environment and class catalog. -

    -

    - +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        TupleSerialFactory

        +
        public TupleSerialFactory(ClassCatalog catalog)
        +
        Creates a tuple-serial factory for given environment and class catalog.
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -getCatalog

    -
    -public final ClassCatalog getCatalog()
    -
    -
    Returns the class catalog associated with this factory. -

    -

    -
    -
    -
    -
    - -

    -newMap

    -
    -public <K,V extends MarshalledTupleKeyEntity> StoredMap<K,V> newMap(Database db,
    -                                                                    Class<K> keyClass,
    -                                                                    Class<V> valueBaseClass,
    -                                                                    boolean writeAllowed)
    -
    -
    Creates a map from a previously opened Database object. -

    -

    -
    Parameters:
    db - the previously opened Database object.
    keyClass - is the class used for map keys. It must implement the - MarshalledTupleEntry interface or be one of the Java primitive - type classes.
    valueBaseClass - the base class of the entity values for this - store. It must implement the MarshalledTupleKeyEntity - interface.
    writeAllowed - is true to create a read-write collection or false - to create a read-only collection.
    -
    -
    -
    - -

    -newSortedMap

    -
    -public <K,V extends MarshalledTupleKeyEntity> StoredSortedMap<K,V> newSortedMap(Database db,
    -                                                                                Class<K> keyClass,
    -                                                                                Class<V> valueBaseClass,
    -                                                                                boolean writeAllowed)
    -
    -
    Creates a sorted map from a previously opened Database object. -

    -

    -
    Parameters:
    db - the previously opened Database object.
    keyClass - is the class used for map keys. It must implement the - MarshalledTupleEntry interface or be one of the Java primitive - type classes.
    valueBaseClass - the base class of the entity values for this - store. It must implement the MarshalledTupleKeyEntity - interface.
    writeAllowed - is true to create a read-write collection or false - to create a read-only collection.
    -
    -
    -
    - -

    -getKeyCreator

    -
    -public <V extends MarshalledTupleKeyEntity> TupleSerialMarshalledKeyCreator<V> getKeyCreator(Class<V> valueBaseClass,
    -                                                                                             String keyName)
    -
    -
    Creates a SecondaryKeyCreator object for use in configuring +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        getCatalog

        +
        public final ClassCatalog getCatalog()
        +
        Returns the class catalog associated with this factory.
        +
      • +
      + + + +
        +
      • +

        newMap

        +
        public <K,V extends MarshalledTupleKeyEntityStoredMap<K,V> newMap(Database db,
        +                                                           java.lang.Class<K> keyClass,
        +                                                           java.lang.Class<V> valueBaseClass,
        +                                                           boolean writeAllowed)
        +
        Creates a map from a previously opened Database object.
        +
        Parameters:
        db - the previously opened Database object.
        keyClass - is the class used for map keys. It must implement the + MarshalledTupleEntry interface or be one of the Java primitive + type classes.
        valueBaseClass - the base class of the entity values for this + store. It must implement the MarshalledTupleKeyEntity + interface.
        writeAllowed - is true to create a read-write collection or false + to create a read-only collection.
        +
      • +
      + + + +
        +
      • +

        newSortedMap

        +
        public <K,V extends MarshalledTupleKeyEntityStoredSortedMap<K,V> newSortedMap(Database db,
        +                                                                       java.lang.Class<K> keyClass,
        +                                                                       java.lang.Class<V> valueBaseClass,
        +                                                                       boolean writeAllowed)
        +
        Creates a sorted map from a previously opened Database object.
        +
        Parameters:
        db - the previously opened Database object.
        keyClass - is the class used for map keys. It must implement the + MarshalledTupleEntry interface or be one of the Java primitive + type classes.
        valueBaseClass - the base class of the entity values for this + store. It must implement the MarshalledTupleKeyEntity + interface.
        writeAllowed - is true to create a read-write collection or false + to create a read-only collection.
        +
      • +
      + + + +
    -
    - -

    -getEntityBinding

    -
    -public <V extends MarshalledTupleKeyEntity> TupleSerialMarshalledBinding<V> getEntityBinding(Class<V> baseClass)
    -
    -
    -
    -
    -
    + the SecondaryKeyCreator interface.
+
Parameters:
valueBaseClass - the base class of the entity values for this + store. It must implement the MarshalledTupleKeyEntity + interface.
keyName - is the key name passed to the MarshalledTupleKeyEntity.marshalSecondaryKey(java.lang.String, com.sleepycat.bind.tuple.TupleOutput) method to identify the + secondary key.
+ + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-Copyright (c) 1996, 2012 Oracle and/or its affiliates. All rights reserved. - - +

Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.

+ + -- cgit v1.2.1