data();
-
- /**
- * Get some custom data from this ExecuteContext.
- *
- * This is custom data that was previously set to the execute context using
- * {@link #data(Object, Object)}. Use custom data if you want to pass
- * data between events received by an {@link ExecuteListener}.
- *
- * Unlike {@link Configuration#data()}, these data's lifecycle only
- * matches that of a single query execution.
- *
- * @param key A key to identify the custom data
- * @return The custom data or null if no such data is contained
- * in this ExecuteContext
- * @see ExecuteListener
- */
- Object data(Object key);
-
- /**
- * Set some custom data to this ExecuteContext.
- *
- * This is custom data that was previously set to the execute context using
- * {@link #data(Object, Object)}. Use custom data if you want to pass
- * data between events received by an {@link ExecuteListener}.
- *
- * Unlike {@link Configuration#data()}, these data's lifecycle only
- * matches that of a single query execution.
- *
- * @param key A key to identify the custom data
- * @param value The custom data
- * @return The previously set custom data or null if no data
- * was previously set for the given key
- * @see ExecuteListener
- */
- Object data(Object key, Object value);
-
/**
* The connection to be used in this execute context.
*
diff --git a/jOOQ/src/main/java/org/jooq/RecordContext.java b/jOOQ/src/main/java/org/jooq/RecordContext.java
index 6be8b27054..32a0f7528e 100644
--- a/jOOQ/src/main/java/org/jooq/RecordContext.java
+++ b/jOOQ/src/main/java/org/jooq/RecordContext.java
@@ -40,7 +40,6 @@
*/
package org.jooq;
-import java.util.Map;
/**
* A context object for {@link Record} manipulation passed to registered
@@ -50,56 +49,6 @@ import java.util.Map;
*/
public interface RecordContext extends Scope {
- /**
- * Get all custom data from this RecordContext.
- *
- * This is custom data that was previously set to the record context using
- * {@link #data(Object, Object)}. Use custom data if you want to pass data
- * between events received by a {@link RecordListener}.
- *
- * Unlike {@link Configuration#data()}, these data's lifecycle only matches
- * that of a single record manipulation.
- *
- * @return The custom data. This is never null
- * @see RecordListener
- */
- Map data();
-
- /**
- * Get some custom data from this RecordContext.
- *
- * This is custom data that was previously set to the record context using
- * {@link #data(Object, Object)}. Use custom data if you want to pass data
- * between events received by an {@link RecordListener}.
- *
- * Unlike {@link Configuration#data()}, these data's lifecycle only matches
- * that of a single query execution.
- *
- * @param key A key to identify the custom data
- * @return The custom data or null if no such data is contained
- * in this RecordContext
- * @see RecordListener
- */
- Object data(Object key);
-
- /**
- * Set some custom data to this RecordContext.
- *
- * This is custom data that was previously set to the record context using
- * {@link #data(Object, Object)}. Use custom data if you want to pass data
- * between events received by an {@link RecordListener}.
- *
- * Unlike {@link Configuration#data()}, these data's lifecycle only matches
- * that of a single query execution.
- *
- * @param key A key to identify the custom data
- * @param value The custom data
- * @return The previously set custom data or null if no data
- * was previously set for the given key
- * @see RecordListener
- */
- Object data(Object key, Object value);
-
/**
* The type of database interaction that is being executed.
*
diff --git a/jOOQ/src/main/java/org/jooq/VisitContext.java b/jOOQ/src/main/java/org/jooq/VisitContext.java
index 4c4f312375..bd55bf9216 100644
--- a/jOOQ/src/main/java/org/jooq/VisitContext.java
+++ b/jOOQ/src/main/java/org/jooq/VisitContext.java
@@ -40,7 +40,6 @@
*/
package org.jooq;
-import java.util.Map;
/**
* A context object for {@link QueryPart} traversal passed to registered
@@ -51,44 +50,6 @@ import java.util.Map;
*/
public interface VisitContext extends Scope {
- /**
- * Get all custom data from this VisitContext.
- *
- * This corresponds to {@link Context#data()} returned from
- * {@link #context()}.
- *
- * @return The custom data. This is never null
- * @see VisitListener
- */
- Map data();
-
- /**
- * Get some custom data from this VisitContext.
- *
- * This corresponds to {@link Context#data(Object)} returned from
- * {@link #context()}.
- *
- * @param key A key to identify the custom data
- * @return The custom data or null if no such data is contained
- * in this VisitListener
- * @see VisitListener
- */
- Object data(Object key);
-
- /**
- * Set some custom data to this VisitContext.
- *
- * This corresponds to {@link Context#data(Object, Object)} returned from
- * {@link #context()}.
- *
- * @param key A key to identify the custom data
- * @param value The custom data
- * @return The previously set custom data or null if no data
- * was previously set for the given key
- * @see VisitContext
- */
- Object data(Object key, Object value);
-
/**
* The most recent clause that was encountered through
* {@link Context#start(Clause)}.