01: /*-
02: * See the file LICENSE for redistribution information.
03: *
04: * Copyright (c) 2002,2008 Oracle. All rights reserved.
05: *
06: * $Id: PutMode.java,v 1.6.2.2 2008/01/07 15:14:09 cwl Exp $
07: */
08:
09: package com.sleepycat.je.dbi;
10:
11: /**
12: * Internal class used to distinguish which variety of putXXX() that
13: * Cursor.putInternal() should use.
14: */
15: public class PutMode {
16: public static final PutMode NODUP = new PutMode();
17: public static final PutMode CURRENT = new PutMode();
18: public static final PutMode OVERWRITE = new PutMode();
19: public static final PutMode NOOVERWRITE = new PutMode();
20: }
|