Edit D:\app\Administrator\product\11.2.0\dbhome_1\owb\misc\drivers\org\xmldb\scriptio\ScriptWriterBase.class
?? -F #org/xmldb/scriptio/ScriptWriterBase java/lang/Object db Lorg/xmldb/Database; outFile Ljava/lang/String; fileStreamOut Ljava/io/OutputStream; outDescriptor Ljava/io/FileDescriptor; tableRowCount I includeCachedData Z byteCount J writeDelay needsSync forceSync busyWriting INSERT ConstantValue sessionId LIST_SCRIPT_FORMATS [Ljava/lang/String; SCRIPT_TEXT_170 SCRIPT_BINARY_172 SCRIPT_ZIPPED_BINARY_172 <clinit> ()V Code java/lang/String % TEXT ' BINARY ) COMPRESSED + - Z e newScriptWriter P(Lorg/xmldb/Database;Ljava/lang/String;ZZI)Lorg/xmldb/scriptio/ScriptWriterBase; Exceptions org/xmldb/HsqlException 4 #org/xmldb/scriptio/ScriptWriterText 6 <init> +(Lorg/xmldb/Database;Ljava/lang/String;ZZ)V 8 9 7 : %org/xmldb/scriptio/ScriptWriterBinary < = : %org/xmldb/scriptio/ScriptWriterZipped ? @ : l i x 8 # E initBuffers G # H java/io/File J (Ljava/lang/String;)V 8 L K M exists ()Z O P K Q org/xmldb/Trace S error .(ILjava/lang/Object;)Lorg/xmldb/HsqlException; U V T W length ()J Y Z K [ ] _ a c openFile e # f Z e l i setWriteDelay (I)V n x sync r t v x java/io/OutputStream z flush | # { } java/io/FileDescriptor ? q # ? ? java/lang/StringBuffer ? flush() or sync() error: ? ? M java/lang/Throwable ? getMessage ()Ljava/lang/String; ? ? ? ? append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; ? ? ? ? toString ? ? ? ? printSystemOut ? L T ? java/io/IOException ? Z e close ? # { ? (I)Lorg/xmldb/HsqlException; U ? T ? size writeAll writeDDL ? # ? writeExistingData ? # ? finishStream ? # ? java/io/FileOutputStream ? (Ljava/lang/String;Z)V 8 ? ? ? getFD ()Ljava/io/FileDescriptor; ? ? ? ? java/io/BufferedOutputStream ? (Ljava/io/OutputStream;I)V 8 ? ? ? 0(II[Ljava/lang/Object;)Lorg/xmldb/HsqlException; U ? T ? l i org/xmldb/DatabaseScript ? getScript )(Lorg/xmldb/Database;Z)Lorg/xmldb/Result; ? ? ? ? writeSingleColumnResult (Lorg/xmldb/Result;)V ? ? ? x Z org/xmldb/Database ? getTables ()Lorg/xmldb/lib/HsqlArrayList; ? ? ? ? org/xmldb/lib/HsqlArrayList ? ()I ? ? ? ? get (I)Ljava/lang/Object; ? ? ? ? org/xmldb/Table ? getTableType ? ? ? ? isReadOnly ? P ? ? writeTableInit (Lorg/xmldb/Table;)V ? ? ? org/xmldb/BaseTable ? rowIterator ()Lorg/xmldb/index/RowIterator; ? ? ? ? org/xmldb/index/RowIterator ? next ()Lorg/xmldb/Row; ? ? ? ? org/xmldb/Row ? getData ()[Ljava/lang/Object; ? ? ? ? writeRow ((ILorg/xmldb/Table;[Ljava/lang/Object;)V ? ? ? hasNext ? P ? writeTableTerm ? writeDataTerm # java/lang/Exception e l i x Z e l i x Z isDataReadOnly P ? isTemp P ? isText P ? SET TABLE getName &()Lorg/xmldb/HsqlNameManager$HsqlName; ?! "org/xmldb/HsqlNameManager$HsqlName# statementName% $& READONLY TRUE( * writeLogStatement (Ljava/lang/String;I)V,- . e l org/xmldb/Result2 iterator ()Lorg/xmldb/lib/Iterator;45 36 org/xmldb/lib/Iterator8 ()Ljava/lang/Object; ?:9; [Ljava/lang/Object;=9 i x Z writeSessionId SourceFile ScriptWriterBase.java! @ @ @ ! "