text stringlengths 30 1.67M |
|---|
<s> package org . eclim . installer . step ; import java . io . File ; import java . io . FilenameFilter ; import org . apache . commons . io . FilenameUtils ; import org . formic . Installer ; public class EclipseUtils { private static final String LAUNCHER_PREFIX = "<STR_LIT>" ; public static String findEclipseLaunch... |
<s> package org . eclim . installer . step ; import java . io . File ; import java . util . regex . Matcher ; import java . util . regex . Pattern ; public class Feature { public static final Pattern VERSION = Pattern . compile ( "<STR_LIT>" ) ; private String version ; private File site ; public Feature ( String versi... |
<s> package org . eclim . installer . step ; import java . beans . PropertyChangeEvent ; import java . beans . PropertyChangeListener ; import java . io . File ; import org . formic . Installer ; import org . formic . wizard . step . shared . Feature ; public class FeatureProvider implements org . formic . wizard . ste... |
<s> package org . eclim . installer . step ; import java . awt . BorderLayout ; import java . awt . Color ; import java . awt . Component ; import java . awt . Dimension ; import java . awt . FlowLayout ; import java . awt . event . ActionEvent ; import java . util . ArrayList ; import java . util . Arrays ; import jav... |
<s> package org . eclim . installer . step . command ; public class InfoCommand extends Command { public InfoCommand ( OutputHandler handler ) { super ( handler , new String [ ] { "<STR_LIT>" } ) ; } } </s> |
<s> package org . eclim . installer . step . command ; public class InstallCommand extends Command { public InstallCommand ( OutputHandler handler , String url , String id ) { this ( handler , url , id , "<STR_LIT>" ) ; } public InstallCommand ( OutputHandler handler , String url , String id , String application ) { su... |
<s> package org . eclim . installer . step . command ; public class UninstallCommand extends Command { public UninstallCommand ( OutputHandler handler , String url , String id ) { this ( handler , url , id , "<STR_LIT>" ) ; } public UninstallCommand ( OutputHandler handler , String url , String id , String application ... |
<s> package org . eclim . installer . step . command ; public interface OutputHandler { public void process ( String line ) ; } </s> |
<s> package org . eclim . installer . step . command ; import org . apache . commons . lang . StringUtils ; public class ListCommand extends Command { public ListCommand ( OutputHandler handler , String [ ] sites ) { super ( handler , new String [ ] { "<STR_LIT>" , StringUtils . join ( sites , '<CHAR_LIT:U+002C>' ) , "... |
<s> package org . eclim . installer . step . command ; import java . io . BufferedReader ; import java . io . InputStreamReader ; import java . io . OutputStream ; import java . util . ArrayList ; import java . util . Map ; import java . util . regex . Pattern ; import org . eclim . installer . step . EclipseUtils ; im... |
<s> package org . eclim . installer . step ; import java . io . BufferedReader ; import java . io . File ; import java . io . FileReader ; import java . io . FilenameFilter ; import java . util . ArrayList ; import java . util . Collections ; import java . util . regex . Matcher ; import java . util . regex . Pattern ;... |
<s> package org . eclim . installer . step ; import org . apache . commons . lang . StringUtils ; public class Dependency { private String id ; private String site ; private boolean upgrade ; private Feature feature ; private String requiredVersion ; public Dependency ( String id , String site , String requiredVersion ... |
<s> package org . eclim . installer . step ; import java . io . File ; import java . net . URL ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import javax . xml . parsers . DocumentBuilderFactory ; import org . apache . commons . lang . StringUti... |
<s> package org . eclim . installer . step ; import java . awt . Component ; import java . awt . event . ActionEvent ; import java . awt . event . ActionListener ; import java . io . FileInputStream ; import java . util . ArrayList ; import java . util . Properties ; import javax . swing . JCheckBox ; import javax . sw... |
<s> package org . eclim . installer . theme ; import javax . swing . plaf . ColorUIResource ; public class DesertBlue extends com . jgoodies . looks . plastic . theme . DesertBlue { protected ColorUIResource getPrimary1 ( ) { return new ColorUIResource ( <NUM_LIT> , <NUM_LIT> , <NUM_LIT> ) ; } } </s> |
<s> package org . eclim . installer ; import java . io . FilterInputStream ; import java . io . IOException ; import java . net . URLConnection ; import javax . swing . JProgressBar ; public class URLProgressInputStream extends FilterInputStream { private JProgressBar progressBar ; public URLProgressInputStream ( JProg... |
<s> package org . eclim . installer . eclipse ; import java . io . PrintStream ; import java . lang . reflect . Field ; import java . lang . reflect . Method ; import java . net . URI ; import java . util . Collection ; import java . util . List ; import org . apache . commons . lang . StringUtils ; import org . eclips... |
<s> package org . eclim . installer . eclipse ; import org . osgi . framework . BundleContext ; public class Plugin extends org . eclipse . core . runtime . Plugin { private static Plugin plugin ; public Plugin ( ) { plugin = this ; } public void start ( BundleContext context ) throws Exception { super . start ( contex... |
<s> package org . eclim . plugin . $ { plugin } ; import org . eclim . Services ; import org . eclim . plugin . AbstractPluginResources ; public class PluginResources extends AbstractPluginResources { public static final String NAME = "<STR_LIT>" ; @ Override public void initialize ( String name ) { super . initialize ... |
<s> package org . eclim . testng ; import org . testng . ITestResult ; import org . testng . TestListenerAdapter ; public class TestNgListener extends TestListenerAdapter { public void onTestFailure ( ITestResult result ) { System . out . println ( "<STR_LIT>" + result . getTestClass ( ) . getName ( ) + '<CHAR_LIT::>' ... |
<s> package org . eclim . checkstyle ; import com . puppycrawl . tools . checkstyle . api . TokenTypes ; import com . puppycrawl . tools . checkstyle . api . DetailAST ; import com . puppycrawl . tools . checkstyle . api . Utils ; import com . puppycrawl . tools . checkstyle . checks . blocks . LeftCurlyCheck ; import ... |
<s> package org . eclim . checkstyle ; import com . puppycrawl . tools . checkstyle . api . TokenTypes ; import com . puppycrawl . tools . checkstyle . api . DetailAST ; public class WhitespaceAfterCheck extends com . puppycrawl . tools . checkstyle . checks . whitespace . WhitespaceAfterCheck { @ Override public void ... |
<s> package org . eclim . plugin . dltk . util ; import java . io . InputStream ; import java . util . ArrayList ; import org . eclim . Services ; import org . eclim . util . IOUtils ; import org . eclipse . core . resources . IFile ; import org . eclipse . core . resources . IProject ; import org . eclipse . core . ru... |
<s> package org . eclim . plugin . dltk ; import org . eclim . Services ; import org . eclim . plugin . AbstractPluginResources ; public class PluginResources extends AbstractPluginResources { public static final String NAME = "<STR_LIT>" ; @ Override public void initialize ( String name ) { super . initialize ( name )... |
<s> package org . eclim . plugin . dltk . preference ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . Map ; import org . apache . commons . lang . ArrayUtils ; import org . eclipse . dltk . launching . IInterpreterInstallType ; import org . eclipse . dltk . launching . ScriptRuntim... |
<s> package org . eclim . plugin . dltk . project ; import java . io . FileInputStream ; import java . util . ArrayList ; import java . util . List ; import java . util . regex . Matcher ; import java . util . regex . Pattern ; import org . eclim . Services ; import org . eclim . command . CommandLine ; import org . ec... |
<s> package org . eclim . plugin . dltk . command . buildpath ; import java . util . ArrayList ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . plugin . core . command . AbstractCommand ; import org . eclipse . core . runtime . IPath ; import org . eclipse ... |
<s> package org . eclim . plugin . dltk . command . buildpath ; import org . eclim . Services ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . command . Options ; import org . eclim . plugin . core . command . AbstractCommand ; import org . eclipse . core .... |
<s> package org . eclim . plugin . dltk . command . buildpath ; import java . util . ArrayList ; import java . util . HashSet ; import java . util . List ; import java . util . Set ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . command . Options ; import ... |
<s> package org . eclim . plugin . dltk . command . buildpath ; public class BuildpathVariable implements Comparable < BuildpathVariable > { private String name ; private String path ; public String getName ( ) { return this . name ; } public void setName ( String name ) { this . name = name ; } public String getPath (... |
<s> package org . eclim . plugin . dltk . command . buildpath ; import org . eclim . Services ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . command . Options ; import org . eclim . plugin . core . command . AbstractCommand ; import org . eclipse . dltk .... |
<s> package org . eclim . plugin . dltk . command . complete ; import java . text . Collator ; import java . util . ArrayList ; import java . util . Arrays ; import java . util . Comparator ; import java . util . Locale ; import org . eclim . command . CommandLine ; import org . eclim . command . Options ; import org .... |
<s> package org . eclim . plugin . dltk . command . launching ; import java . util . ArrayList ; import org . eclim . Services ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . command . Options ; import org . eclim . plugin . core . command . AbstractComman... |
<s> package org . eclim . plugin . dltk . command . launching ; import java . util . ArrayList ; import org . eclim . Services ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . command . Options ; import org . eclim . plugin . core . command . AbstractComman... |
<s> package org . eclim . plugin . dltk . command . launching ; import java . util . ArrayList ; import java . util . HashMap ; import org . eclim . Services ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . command . Options ; import org . eclim . plugin . ... |
<s> package org . eclim . plugin . dltk . command . src ; import java . util . ArrayList ; import java . util . List ; import org . eclim . command . CommandLine ; import org . eclim . command . Error ; import org . eclim . command . Options ; import org . eclim . plugin . core . command . AbstractCommand ; import org ... |
<s> package org . eclim . plugin . dltk . command . search ; import java . io . File ; import java . util . ArrayList ; import java . util . List ; import org . apache . commons . lang . StringUtils ; import org . eclim . annotation . Command ; import org . eclim . command . CommandLine ; import org . eclim . command .... |
<s> package com . classicnerd . ClassicnerdWallpapers ; import android . app . Activity ; import android . content . res . Resources ; import android . graphics . BitmapFactory ; import android . graphics . Bitmap ; import android . graphics . drawable . Drawable ; import android . os . Bundle ; import android . os . A... |
<s> package de . ralfebert . imageassert ; import static org . junit . Assert . assertTrue ; import static org . junit . Assert . fail ; import org . junit . Before ; import org . junit . Test ; import de . ralfebert . imageassert . utils . Colocated ; public class ImageAssertTest { private ImageAssert imageAssert ; @ ... |
<s> package de . ralfebert . imageassert ; import static org . junit . Assert . assertEquals ; import java . io . File ; import java . io . FileNotFoundException ; import java . io . FileOutputStream ; import java . io . IOException ; import java . util . Arrays ; import java . util . List ; import org . apache . commo... |
<s> package de . ralfebert . imageassert . utils ; import static org . junit . Assert . * ; import org . junit . Before ; import org . junit . Test ; public class UnixLauncherTest { private UnixLauncher launcher ; @ Before public void setup ( ) { launcher = new UnixLauncher ( ) ; } @ Test public void testEcho ( ) throw... |
<s> package de . ralfebert . imageassert . utils ; import static org . junit . Assert . assertEquals ; import java . io . IOException ; import java . io . InputStream ; import java . net . URL ; import org . apache . commons . io . IOUtils ; import org . junit . Test ; public class ColocatedTest { private static final ... |
<s> package de . ralfebert . imageassert . utils ; import static org . junit . Assert . * ; import java . io . File ; import java . io . FileInputStream ; import java . io . FileOutputStream ; import org . apache . commons . io . IOUtils ; import org . junit . Test ; public class TemporaryFolderTest { @ Test public voi... |
<s> package de . ralfebert . imageassert . pageimage ; import java . io . File ; import java . io . FilenameFilter ; import java . util . Arrays ; import org . apache . commons . io . FilenameUtils ; import org . apache . commons . io . filefilter . WildcardFileFilter ; import de . ralfebert . imageassert . compare . P... |
<s> package de . ralfebert . imageassert . pageimage ; import java . io . File ; import java . io . FilenameFilter ; import java . util . Arrays ; import org . apache . commons . io . FilenameUtils ; import org . apache . commons . io . filefilter . WildcardFileFilter ; import de . ralfebert . imageassert . compare . P... |
<s> package de . ralfebert . imageassert . pageimage ; import java . io . File ; import de . ralfebert . imageassert . compare . Page ; import de . ralfebert . imageassert . utils . TemporaryFolder ; public interface IPdfImageSplitter { public void setTemporaryFolder ( TemporaryFolder temporaryFolder ) ; public abstrac... |
<s> package de . ralfebert . imageassert . pageimage ; import java . awt . Graphics2D ; import java . awt . Image ; import java . awt . Rectangle ; import java . awt . image . BufferedImage ; import java . io . File ; import java . io . IOException ; import java . io . RandomAccessFile ; import java . nio . ByteBuffer ... |
<s> package de . ralfebert . imageassert . compare ; import java . awt . image . BufferedImage ; import java . io . File ; import java . io . IOException ; import javax . imageio . ImageIO ; import de . ralfebert . imageassert . utils . RuntimeIOException ; public final class Page { private final String name ; private ... |
<s> package de . ralfebert . imageassert . compare ; public interface ICompareResultHandler { void onImageNotEqual ( Page expected , Page actual ) ; } </s> |
<s> package de . ralfebert . imageassert . compare . junit ; import org . junit . Assert ; import de . ralfebert . imageassert . compare . ICompareResultHandler ; import de . ralfebert . imageassert . compare . Page ; public class JUnitCompareResultHandler implements ICompareResultHandler { public void onImageNotEqual ... |
<s> package de . ralfebert . imageassert . compare . swing ; import static org . junit . Assert . fail ; import java . io . File ; import java . io . FileInputStream ; import java . io . FileOutputStream ; import java . util . logging . Logger ; import org . apache . commons . io . IOUtils ; import de . ralfebert . ima... |
<s> package de . ralfebert . imageassert . compare . swing ; import java . awt . BorderLayout ; import java . awt . Color ; import java . awt . Dimension ; import java . awt . Graphics ; import java . awt . GraphicsConfiguration ; import java . awt . GraphicsDevice ; import java . awt . GraphicsEnvironment ; import jav... |
<s> package de . ralfebert . imageassert . utils ; import java . io . IOException ; import java . io . InputStream ; import java . net . URL ; import org . apache . commons . io . IOUtils ; public class Colocated { public static String toString ( Object ownerObject , String filename ) { try { return IOUtils . toString ... |
<s> package de . ralfebert . imageassert . utils ; import java . io . IOException ; public class RuntimeIOException extends RuntimeException { private static final long serialVersionUID = <NUM_LIT:1L> ; public RuntimeIOException ( String message ) { super ( message ) ; } public RuntimeIOException ( IOException cause ) ... |
<s> package de . ralfebert . imageassert . utils ; import java . io . File ; import java . io . IOException ; import java . util . logging . Logger ; import org . apache . commons . io . FileUtils ; public class TemporaryFolder { private final static Logger log = Logger . getLogger ( "<STR_LIT>" ) ; private final Strin... |
<s> package de . ralfebert . imageassert . utils ; import org . apache . commons . lang . StringUtils ; public class LaunchException extends RuntimeException { private static final long serialVersionUID = <NUM_LIT:1L> ; private final int exitValue ; private final String commandLine ; private final String output ; priva... |
<s> package de . ralfebert . imageassert . utils ; import java . io . IOException ; import java . util . logging . Logger ; import org . apache . commons . io . IOUtils ; import org . apache . commons . lang . StringUtils ; public class UnixLauncher { private final static Logger log = Logger . getLogger ( "<STR_LIT>" )... |
<s> package de . ralfebert . imageassert ; import static org . junit . Assert . fail ; import java . awt . GraphicsEnvironment ; import java . awt . image . BufferedImage ; import java . io . File ; import java . io . FileOutputStream ; import java . io . IOException ; import java . io . InputStream ; import java . uti... |
<s> package org . apache . gora . cassandra . query ; import java . nio . ByteBuffer ; import me . prettyprint . hector . api . Serializer ; import org . apache . avro . Schema ; import org . apache . avro . Schema . Field ; import org . apache . avro . Schema . Type ; import org . apache . gora . cassandra . serialize... |
<s> package org . apache . gora . cassandra . query ; import java . io . IOException ; import java . util . List ; import java . util . Map ; import me . prettyprint . cassandra . serializers . StringSerializer ; import org . apache . avro . Schema ; import org . apache . avro . Schema . Field ; import org . apache . a... |
<s> package org . apache . gora . cassandra . query ; import java . util . List ; import java . util . Map ; import org . apache . gora . persistency . Persistent ; import org . apache . gora . query . Query ; import org . apache . gora . query . impl . QueryBase ; import org . apache . gora . store . DataStore ; publi... |
<s> package org . apache . gora . cassandra . query ; import java . nio . ByteBuffer ; import java . nio . CharBuffer ; import java . nio . charset . CharacterCodingException ; import java . nio . charset . Charset ; import java . nio . charset . CharsetEncoder ; import me . prettyprint . cassandra . serializers . Floa... |
<s> package org . apache . gora . cassandra . query ; import java . util . ArrayList ; public class CassandraRow < K > extends ArrayList < CassandraColumn > { private static final long serialVersionUID = - <NUM_LIT> ; private K key ; public K getKey ( ) { return this . key ; } public void setKey ( K key ) { this . key ... |
<s> package org . apache . gora . cassandra . query ; import java . util . ArrayList ; import java . util . HashMap ; public class CassandraResultSet < K > extends ArrayList < CassandraRow < K > > { private static final long serialVersionUID = - <NUM_LIT> ; private HashMap < K , Integer > indexMap = new HashMap < K , I... |
<s> package org . apache . gora . cassandra . query ; import java . nio . ByteBuffer ; import java . util . Map ; import me . prettyprint . cassandra . serializers . IntegerSerializer ; import me . prettyprint . cassandra . serializers . StringSerializer ; import me . prettyprint . hector . api . beans . HColumn ; impo... |
<s> package org . apache . gora . cassandra . store ; import java . io . IOException ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import me . prettyprint . cassandra . model . BasicColumnFamilyDefinition ; import me . prettyprint . cassandra . ... |
<s> package org . apache . gora . cassandra . store ; import java . io . IOException ; import java . nio . ByteBuffer ; import java . util . ArrayList ; import java . util . Iterator ; import java . util . LinkedHashMap ; import java . util . List ; import java . util . Map ; import java . util . Properties ; import ja... |
<s> package org . apache . gora . cassandra . store ; import java . nio . ByteBuffer ; import java . util . ArrayList ; import java . util . Arrays ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import me . prettyprint . cassandra . model . ConfigurableConsistencyLevel ; import ... |
<s> package org . apache . gora . cassandra . store ; import java . nio . ByteBuffer ; import java . util . Arrays ; import me . prettyprint . cassandra . serializers . ByteBufferSerializer ; import me . prettyprint . cassandra . serializers . IntegerSerializer ; import me . prettyprint . cassandra . serializers . Stri... |
<s> package org . apache . gora . cassandra . store ; import java . io . IOException ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import me . prettyprint . cassandra . model . BasicColumnFamilyDefinition ; import me . prettyprint . cassandra . ... |
<s> package org . apache . gora . cassandra . serializers ; import java . nio . BufferUnderflowException ; import java . nio . ByteBuffer ; import java . util . HashMap ; import java . util . Map ; import me . prettyprint . cassandra . serializers . AbstractSerializer ; import me . prettyprint . cassandra . serializers... |
<s> package org . apache . gora . cassandra . serializers ; import java . nio . ByteBuffer ; import me . prettyprint . cassandra . serializers . AbstractSerializer ; import me . prettyprint . cassandra . serializers . StringSerializer ; import me . prettyprint . hector . api . ddl . ComparatorType ; import static me . ... |
<s> package org . apache . gora . cassandra . serializers ; import java . nio . BufferUnderflowException ; import java . nio . ByteBuffer ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import me . prettyprint . cassandra . serializers . AbstractS... |
<s> package org . apache . gora . cassandra . serializers ; import java . nio . ByteBuffer ; import org . apache . avro . Schema ; import org . apache . avro . Schema . Type ; import org . apache . avro . generic . GenericArray ; import org . apache . avro . specific . SpecificFixed ; import org . apache . avro . util ... |
<s> package org . apache . gora . cassandra . serializers ; import java . nio . ByteBuffer ; import me . prettyprint . cassandra . serializers . BytesArraySerializer ; import me . prettyprint . cassandra . serializers . ByteBufferSerializer ; import me . prettyprint . cassandra . serializers . BooleanSerializer ; impor... |
<s> package org . apache . gora . cassandra . serializers ; import java . nio . BufferUnderflowException ; import java . nio . ByteBuffer ; import java . util . ArrayList ; import java . util . HashMap ; import java . util . List ; import java . util . Map ; import me . prettyprint . cassandra . serializers . AbstractS... |
<s> package org . apache . gora . cassandra . store ; import java . io . IOException ; import org . apache . gora . cassandra . GoraCassandraTestDriver ; import org . apache . gora . cassandra . store . CassandraStore ; import org . apache . gora . examples . generated . Employee ; import org . apache . gora . examples... |
<s> package org . apache . gora . cassandra ; import java . io . IOException ; import org . apache . gora . GoraTestDriver ; import org . apache . gora . cassandra . store . CassandraStore ; import org . apache . hadoop . conf . Configuration ; import java . io . File ; import org . apache . cassandra . io . util . Fil... |
<s> package org . apache . gora . tutorial . log ; import java . io . IOException ; import org . apache . avro . util . Utf8 ; import org . slf4j . Logger ; import org . slf4j . LoggerFactory ; import org . apache . gora . mapreduce . GoraMapper ; import org . apache . gora . mapreduce . GoraReducer ; import org . apac... |
<s> package org . apache . gora . tutorial . log ; import org . apache . hadoop . io . LongWritable ; import org . apache . hadoop . io . Text ; public class TextLong extends KeyValueWritable < Text , LongWritable > { public TextLong ( ) { key = new Text ( ) ; value = new LongWritable ( ) ; } } </s> |
<s> package org . apache . gora . tutorial . log ; import java . io . DataInput ; import java . io . DataOutput ; import java . io . IOException ; import org . apache . hadoop . io . WritableComparable ; public class KeyValueWritable < K extends WritableComparable , V extends WritableComparable > implements WritableCom... |
<s> package org . apache . gora . tutorial . log ; import java . io . BufferedReader ; import java . io . FileReader ; import java . io . IOException ; import java . text . ParseException ; import java . text . SimpleDateFormat ; import java . util . StringTokenizer ; import org . apache . avro . util . Utf8 ; import o... |
<s> package org . apache . gora . tutorial . log . generated ; import org . apache . avro . AvroRuntimeException ; import org . apache . avro . Schema ; import org . apache . avro . util . Utf8 ; import org . apache . gora . persistency . StateManager ; import org . apache . gora . persistency . impl . PersistentBase ;... |
<s> package org . apache . gora . tutorial . log . generated ; import org . apache . avro . AvroRuntimeException ; import org . apache . avro . Schema ; import org . apache . avro . util . Utf8 ; import org . apache . gora . persistency . StateManager ; import org . apache . gora . persistency . impl . PersistentBase ;... |
<s> package org . apache . gora . sql . store ; import java . io . IOException ; import org . apache . gora . examples . generated . Employee ; import org . apache . gora . examples . generated . WebPage ; import org . apache . gora . sql . GoraSqlTestDriver ; import org . apache . gora . sql . store . SqlStore ; impor... |
<s> package org . apache . gora . sql ; import java . sql . Connection ; import java . sql . DriverManager ; import java . util . Properties ; import org . apache . gora . GoraTestDriver ; import org . apache . gora . sql . store . SqlStore ; import org . apache . gora . util . ClassLoadingUtils ; import org . apache .... |
<s> package org . apache . gora . sql . query ; import org . apache . gora . persistency . Persistent ; import org . apache . gora . query . impl . QueryBase ; import org . apache . gora . sql . store . SqlStore ; public class SqlQuery < K , T extends Persistent > extends QueryBase < K , T > { public SqlQuery ( ) { sup... |
<s> package org . apache . gora . sql . query ; import java . io . IOException ; import java . sql . PreparedStatement ; import java . sql . ResultSet ; import org . apache . gora . persistency . Persistent ; import org . apache . gora . query . Query ; import org . apache . gora . query . impl . ResultBase ; import or... |
<s> package org . apache . gora . sql . util ; import java . sql . ResultSet ; import java . sql . SQLException ; import java . sql . Statement ; public class SqlUtils { public static void close ( ResultSet rs ) { if ( rs != null ) { try { rs . close ( ) ; } catch ( SQLException ignore ) { } } } public static void clos... |
<s> package org . apache . gora . sql . store ; import org . apache . gora . sql . store . SqlTypeInterface . JdbcType ; public class Column { public static enum MappingStrategy { SERIALIZED , JOIN_TABLE , SECONDARY_TABLE , } private String tableName ; private String name ; private JdbcType jdbcType ; private String sq... |
<s> package org . apache . gora . sql . store ; import java . io . IOException ; import java . io . Serializable ; import java . math . BigDecimal ; import java . math . BigInteger ; import java . sql . Types ; import java . util . Currency ; import java . util . HashMap ; import java . util . Locale ; import org . apa... |
<s> package org . apache . gora . sql . store ; import java . util . HashMap ; import org . apache . gora . sql . store . SqlTypeInterface . JdbcType ; public class SqlMapping { private String tableName ; private HashMap < String , Column > fields ; private Column primaryColumn ; public SqlMapping ( ) { fields = new Ha... |
<s> package org . apache . gora . sql . store ; import java . io . ByteArrayInputStream ; import java . io . IOException ; import java . io . InputStream ; import java . io . OutputStream ; import java . nio . ByteBuffer ; import java . sql . Blob ; import java . sql . Connection ; import java . sql . DatabaseMetaData ... |
<s> package org . apache . gora . sql . statement ; public class Where { private StringBuilder builder ; public Where ( ) { builder = new StringBuilder ( ) ; } public Where ( String where ) { builder = new StringBuilder ( where == null ? "<STR_LIT>" : where ) ; } public void addPart ( String part ) { if ( builder . len... |
<s> package org . apache . gora . sql . statement ; import java . util . ArrayList ; import org . apache . gora . util . StringUtils ; public class SelectStatement { private String selectStatement ; private ArrayList < String > selectList ; private String from ; private Where where ; private String groupBy ; private St... |
<s> package org . apache . gora . sql . statement ; public class Delete { private String from ; private Where where ; public String from ( ) { return from ; } public Delete from ( String from ) { this . from = from ; return this ; } public Delete where ( Where where ) { this . where = where ; return this ; } public Whe... |
<s> package org . apache . gora . sql . statement ; import java . io . IOException ; import java . sql . Connection ; import java . sql . PreparedStatement ; import java . sql . SQLException ; import java . util . Map . Entry ; import org . apache . avro . Schema ; import org . apache . gora . persistency . Persistent ... |
<s> package org . apache . gora . sql . statement ; import org . apache . gora . persistency . Persistent ; import org . apache . gora . sql . store . SqlMapping ; import org . apache . gora . sql . store . SqlStore ; import org . apache . gora . sql . store . SqlStore . DBVendor ; public class InsertUpdateStatementFac... |
<s> package org . apache . gora . sql . statement ; import java . sql . Connection ; import java . sql . PreparedStatement ; import java . sql . SQLException ; import java . util . SortedMap ; import java . util . TreeMap ; import org . apache . avro . Schema ; import org . apache . gora . persistency . Persistent ; im... |
<s> package org . apache . gora . sql . statement ; import java . util . ArrayList ; import java . util . Arrays ; import java . util . List ; import org . apache . gora . sql . store . SqlMapping ; import org . apache . gora . util . StringUtils ; public class InsertStatement { private SqlMapping mapping ; private Str... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.