congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
PointbaseDelegate.rtp
Code IndexAdd Tabnine to your IDE (free)

How to use
rtp
method
in
org.quartz.impl.jdbcjobstore.PointbaseDelegate

Best Java code snippets using org.quartz.impl.jdbcjobstore.PointbaseDelegate.rtp (Showing top 20 results out of 315)

origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(UPDATE_CALENDAR));
ps.setBinaryStream(1, bais, buf.length);
ps.setString(2, calendarName);
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(UPDATE_CALENDAR));
ps.setBinaryStream(1, bais, buf.length);
ps.setString(2, calendarName);
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(INSERT_CALENDAR));
ps.setString(1, calendarName);
ps.setBinaryStream(2, bais, buf.length);
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(INSERT_CALENDAR));
ps.setString(1, calendarName);
ps.setBinaryStream(2, bais, buf.length);
origin: quartz-scheduler/quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
@Override           
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getKey().getName());
    ps.setString(3, job.getKey().getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
@Override           
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getKey().getName());
    ps.setString(3, job.getKey().getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(INSERT_TRIGGER));
ps.setString(1, trigger.getKey().getName());
ps.setString(2, trigger.getKey().getGroup());
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(INSERT_TRIGGER));
ps.setString(1, trigger.getKey().getName());
ps.setString(2, trigger.getKey().getGroup());
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(UPDATE_TRIGGER));
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(UPDATE_TRIGGER));
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(INSERT_JOB_DETAIL));
ps.setString(1, job.getKey().getName());
ps.setString(2, job.getKey().getGroup());
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(UPDATE_JOB_DETAIL));
ps.setString(1, job.getDescription());
ps.setString(2, job.getJobClass().getName());
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(INSERT_JOB_DETAIL));
ps.setString(1, job.getKey().getName());
ps.setString(2, job.getKey().getGroup());
origin: quartz-scheduler/quartz

ps = conn.prepareStatement(rtp(UPDATE_JOB_DETAIL));
ps.setString(1, job.getDescription());
ps.setString(2, job.getJobClass().getName());
origin: quartz/quartz-all

ps = conn.prepareStatement(rtp(UPDATE_CALENDAR));
ps.setBinaryStream(1, bais, buf.length);
ps.setString(2, calendarName);
origin: com.opensymphony.quartz/com.springsource.org.quartz

ps = conn.prepareStatement(rtp(UPDATE_CALENDAR));
ps.setBinaryStream(1, bais, buf.length);
ps.setString(2, calendarName);
origin: quartz/quartz-all

ps = conn.prepareStatement(rtp(INSERT_CALENDAR));
ps.setString(1, calendarName);
ps.setBinaryStream(2, bais, buf.length);
origin: com.opensymphony.quartz/com.springsource.org.quartz

ps = conn.prepareStatement(rtp(INSERT_CALENDAR));
ps.setString(1, calendarName);
ps.setBinaryStream(2, bais, buf.length);
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getName());
    ps.setString(3, job.getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz/quartz-all

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getName());
    ps.setString(3, job.getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
org.quartz.impl.jdbcjobstorePointbaseDelegatertp

Popular methods of PointbaseDelegate

  • canUseProperties
  • closeStatement
  • getObjectFromBlob
    This method should be overridden by any delegate subclasses that need special handling for BLOBs. T
  • serializeJobData
  • serializeObject
  • setBoolean
  • deleteJobListeners
  • deleteTriggerListeners
  • findTriggerPersistenceDelegate
  • insertBlobTrigger
  • insertJobListener
  • insertTriggerListener
  • insertJobListener,
  • insertTriggerListener,
  • updateBlobTrigger

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now