Tabnine Logo
KafkaCheckpointLogKey.getType
Code IndexAdd Tabnine to your IDE (free)

How to use
getType
method
in
org.apache.samza.checkpoint.kafka.KafkaCheckpointLogKey

Best Java code snippets using org.apache.samza.checkpoint.kafka.KafkaCheckpointLogKey.getType (Showing top 3 results out of 315)

origin: apache/samza

@Override
public byte[] toBytes(KafkaCheckpointLogKey key) {
 try {
  return mapper.writeValueAsBytes(ImmutableMap.of(
    SSP_GROUPER_FACTORY_FIELD, key.getGrouperFactoryClassName(),
    TASK_NAME_FIELD, key.getTaskName().toString(),
    TYPE_FIELD, key.getType()
   ));
 } catch (Exception e) {
  throw new SamzaException(String.format("Exception in serializing: %s", key), e);
 }
}
origin: org.apache.samza/samza-kafka

@Override
public byte[] toBytes(KafkaCheckpointLogKey key) {
 try {
  return mapper.writeValueAsBytes(ImmutableMap.of(
    SSP_GROUPER_FACTORY_FIELD, key.getGrouperFactoryClassName(),
    TASK_NAME_FIELD, key.getTaskName().toString(),
    TYPE_FIELD, key.getType()
   ));
 } catch (Exception e) {
  throw new SamzaException(String.format("Exception in serializing: %s", key), e);
 }
}
origin: org.apache.samza/samza-kafka_2.11

@Override
public byte[] toBytes(KafkaCheckpointLogKey key) {
 try {
  return mapper.writeValueAsBytes(ImmutableMap.of(
    SSP_GROUPER_FACTORY_FIELD, key.getGrouperFactoryClassName(),
    TASK_NAME_FIELD, key.getTaskName().toString(),
    TYPE_FIELD, key.getType()
   ));
 } catch (Exception e) {
  throw new SamzaException(String.format("Exception in serializing: %s", key), e);
 }
}
org.apache.samza.checkpoint.kafkaKafkaCheckpointLogKeygetType

Popular methods of KafkaCheckpointLogKey

  • <init>
  • getGrouperFactoryClassName
  • getTaskName

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JButton (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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