KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sleepycat > je > dbi > PutMode


1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002,2006 Oracle. All rights reserved.
5  *
6  * $Id: PutMode.java,v 1.6 2006/10/30 21:14:15 bostic Exp $
7  */

8
9 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 }
21
Popular Tags