001 /*
002 * Copyright (c) 2009 The openGion Project.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013 * either express or implied. See the License for the specific language
014 * governing permissions and limitations under the License.
015 */
016 package org.opengion.plugin.table;
017
018 /**
019 * TableFilter_INDEX_POSGRE は、TableUpda インターフェースを継承した、DBTableModel 処ç�?”¨の
020 * 実è£?‚¯ラスですã?とくに、PostgreSQL用のインãƒ?ƒƒクス作æ?スクリプトを作æ?しますã?
021 *
022 * ここでは、テーブルä¸?¦§の検索結果より、GF07 のインãƒ?ƒƒクスカラãƒ?®š義ãƒ??ブルから
023 * å¿?¦�なæƒ??を取得し、テーブル作æ?スクリプトを作æ?しますã?
024 * 出力ファイルは、テーブル名ï¼?I.sql" とã�?�†命名規則で作æ?しますã?
025 * 検索ではã€?SYSTEM_ID,TBLSYU,TABLE_NAME,NAME_JA,TABLESPACE_NAME,INITIAL_EXTENT,NEXT_EXTENT,COMMENTS)
026 * のé ?›®を取得するå¿?¦�がありますã?
027 *
028 * @og.rev 4.0.0.0 (2005/08/31) 新規作æ?
029 *
030 * @version 0.9.0 2000/10/17
031 * @author Kazuhiko Hasegawa
032 * @since JDK1.1,
033 */
034 public class TableFilter_INDEX_POSGRE extends TableFilter_INDEX {
035 //* こã?プログラãƒ??VERSIONæ–?—å?を設定しますã? {@value} */
036 private static final String VERSION = "4.0.0.0 (2005/08/31)" ;
037
038 /**
039 * 定義のæœ?¾Œã?部åˆ??処ç�?‚’実行しますã?
040 *
041 * @param clmNo カラãƒ?•ª号配å?
042 * @param data ?‘行å?のãƒ??タ配å?
043 *
044 * @return 定義のæœ?¾Œã?部åˆ?
045 */
046 @Override
047 protected String makeEndLine( final int[] clmNo,final String[] data ) {
048 // return ";";
049 return ( isXml ? EXEC_END_TAG : ";" );
050 }
051 }