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. --- .../com/sleepycat/persist/evolve/Mutations.html | 1032 +++++++++----------- 1 file changed, 475 insertions(+), 557 deletions(-) (limited to 'docs/java/com/sleepycat/persist/evolve/Mutations.html') diff --git a/docs/java/com/sleepycat/persist/evolve/Mutations.html b/docs/java/com/sleepycat/persist/evolve/Mutations.html index c4a06d6e..d4492ccb 100644 --- a/docs/java/com/sleepycat/persist/evolve/Mutations.html +++ b/docs/java/com/sleepycat/persist/evolve/Mutations.html @@ -1,112 +1,112 @@ - - - - - -Mutations (Oracle - Berkeley DB Java API) - - - - - - - - - - - - -
- - +//--> + + - - - - - - - - - - - - - - - - -
-Berkeley DB
version 5.3.21
-
- + + +
+ + +
+ + + - -
-

- -com.sleepycat.persist.evolve -
-Class Mutations

-
-java.lang.Object
-  extended by com.sleepycat.persist.evolve.Mutations
-
-
-
All Implemented Interfaces:
Serializable
-
-
-
-
public class Mutations
extends Object
implements Serializable
- - -

-A collection of mutations for configuring class evolution. - -

Mutations are configured when a store is opened via StoreConfig.setMutations. For example:

+
+
com.sleepycat.persist.evolve
+

Class Mutations

+
+
+ +
+
    +
  • +
    +
    All Implemented Interfaces:
    +
    java.io.Serializable
    +
    +
    +
    +
    public class Mutations
    +extends java.lang.Object
    +implements java.io.Serializable
    +
    A collection of mutations for configuring class evolution. + +

    Mutations are configured when a store is opened via StoreConfig.setMutations. For example:

       Mutations mutations = new Mutations();
    @@ -116,480 +116,398 @@ A collection of mutations for configuring class evolution.
       EntityStore store = new EntityStore(env, "myStore", config);

    Mutations cause data conversion to occur lazily as instances are read - from the store. The EntityStore.evolve method + from the store. The EntityStore.evolve method may also be used to perform eager conversion.

    Not all incompatible class changes can be handled via mutations. For example, complex refactoring may require a transformation that manipulates multiple entity instances at once. Such changes are not possible with mutations but can made by performing a store conversion.

    -

    - -

    -

    -
    See Also:
    Class Evolution, -Serialized Form
    -
    - -

    - + href="package-summary.html#storeConversion">store conversion.

    +
    See Also:
    Class Evolution, +Serialized Form
    +
  • +
+
+
+
    +
  • - - - - - - - - - -
    -Constructor Summary
    Mutations() - -
    -          Creates an empty set of mutations.
    -  +
      +
    • + + +

      Constructor Summary

      + + + + + + + + +
      Constructors 
      Constructor and Description
      Mutations() +
      Creates an empty set of mutations.
      +
      +
    • +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -Method Summary
    - voidaddConverter(Converter converter) - -
    -          Adds a converter mutation.
    - voidaddDeleter(Deleter deleter) - -
    -          Adds a deleter mutation.
    - voidaddRenamer(Renamer renamer) - -
    -          Adds a renamer mutation.
    - booleanequals(Object other) - -
    -          Returns true if this collection has the same set of mutations as the - given collection and all mutations are equal.
    - ConvertergetConverter(String className, - int classVersion, - String fieldName) - -
    -          Returns the converter mutation for the given class, version and field, - or null if none exists.
    - Collection<Converter>getConverters() - -
    -          Returns an unmodifiable collection of all converter mutations.
    - DeletergetDeleter(String className, - int classVersion, - String fieldName) - -
    -          Returns the deleter mutation for the given class, version and field, or - null if none exists.
    - Collection<Deleter>getDeleters() - -
    -          Returns an unmodifiable collection of all deleter mutations.
    - RenamergetRenamer(String className, - int classVersion, - String fieldName) - -
    -          Returns the renamer mutation for the given class, version and field, or - null if none exists.
    - Collection<Renamer>getRenamers() - -
    -          Returns an unmodifiable collection of all renamer mutations.
    - inthashCode() - -
    -           
    - booleanisEmpty() - -
    -          Returns true if no mutations are present.
    - StringtoString() - -
    -           
    - - - - - - - -
    Methods inherited from class java.lang.Object
    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    -  -

    - +

      +
    • + + +

      Method Summary

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      Methods 
      Modifier and TypeMethod and Description
      voidaddConverter(Converter converter) +
      Adds a converter mutation.
      +
      voidaddDeleter(Deleter deleter) +
      Adds a deleter mutation.
      +
      voidaddRenamer(Renamer renamer) +
      Adds a renamer mutation.
      +
      booleanequals(java.lang.Object other) +
      Returns true if this collection has the same set of mutations as the + given collection and all mutations are equal.
      +
      ConvertergetConverter(java.lang.String className, + int classVersion, + java.lang.String fieldName) +
      Returns the converter mutation for the given class, version and field, + or null if none exists.
      +
      java.util.Collection<Converter>getConverters() +
      Returns an unmodifiable collection of all converter mutations.
      +
      DeletergetDeleter(java.lang.String className, + int classVersion, + java.lang.String fieldName) +
      Returns the deleter mutation for the given class, version and field, or + null if none exists.
      +
      java.util.Collection<Deleter>getDeleters() +
      Returns an unmodifiable collection of all deleter mutations.
      +
      RenamergetRenamer(java.lang.String className, + int classVersion, + java.lang.String fieldName) +
      Returns the renamer mutation for the given class, version and field, or + null if none exists.
      +
      java.util.Collection<Renamer>getRenamers() +
      Returns an unmodifiable collection of all renamer mutations.
      +
      inthashCode() 
      booleanisEmpty() +
      Returns true if no mutations are present.
      +
      java.lang.StringtoString() 
      +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • - - - - - - -
    -Constructor Detail
    - -

    -Mutations

    -
    -public Mutations()
    -
    -
    Creates an empty set of mutations. -

    -

    - +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        Mutations

        +
        public Mutations()
        +
        Creates an empty set of mutations.
        +
      • +
      +
    • +
    - - - - - - -
    -Method Detail
    - -

    -isEmpty

    -
    -public boolean isEmpty()
    -
    -
    Returns true if no mutations are present. -

    -

    -
    -
    -
    -
    -
    -
    -
    - -

    -addRenamer

    -
    -public void addRenamer(Renamer renamer)
    -
    -
    Adds a renamer mutation. -

    -

    -
    -
    -
    -
    -
    -
    -
    - -

    -getRenamer

    -
    -public Renamer getRenamer(String className,
    -                          int classVersion,
    -                          String fieldName)
    -
    -
    Returns the renamer mutation for the given class, version and field, or +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        isEmpty

        +
        public boolean isEmpty()
        +
        Returns true if no mutations are present.
        +
      • +
      + + + +
        +
      • +

        addRenamer

        +
        public void addRenamer(Renamer renamer)
        +
        Adds a renamer mutation.
        +
      • +
      + + + +
        +
      • +

        getRenamer

        +
        public Renamer getRenamer(java.lang.String className,
        +                 int classVersion,
        +                 java.lang.String fieldName)
        +
        Returns the renamer mutation for the given class, version and field, or null if none exists. A null field name should be specified to get a - class renamer. -

        -

        -
        -
        -
        -
        -
        -
    -
    - -

    -getRenamers

    -
    -public Collection<Renamer> getRenamers()
    -
    -
    Returns an unmodifiable collection of all renamer mutations. -

    -

    -
    -
    -
    -
    -
    -
    -
    - -

    -addDeleter

    -
    -public void addDeleter(Deleter deleter)
    -
    -
    Adds a deleter mutation. -

    -

    -
    -
    -
    -
    -
    -
    -
    - -

    -getDeleter

    -
    -public Deleter getDeleter(String className,
    -                          int classVersion,
    -                          String fieldName)
    -
    -
    Returns the deleter mutation for the given class, version and field, or + class renamer.
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ -
- - - - - - - - - - - - - - - - - - -
-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