congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
XPartition.getSerdeClassname
Code IndexAdd Tabnine to your IDE (free)

How to use
getSerdeClassname
method
in
org.apache.lens.api.metastore.XPartition

Best Java code snippets using org.apache.lens.api.metastore.XPartition.getSerdeClassname (Showing top 10 results out of 315)

origin: apache/lens

public static void updatePartitionFromXPartition(Partition partition, XPartition xp) throws ClassNotFoundException {
 partition.getParameters().putAll(mapFromXProperties(xp.getPartitionParameters()));
 partition.getTPartition().getSd().getSerdeInfo().setParameters(mapFromXProperties(xp.getSerdeParameters()));
 partition.setLocation(xp.getLocation());
 if (xp.getInputFormat() != null) {
  partition.setInputFormatClass(Class.forName(xp.getInputFormat()).asSubclass(InputFormat.class));
 }
 if (xp.getOutputFormat() != null) {
  Class<? extends HiveOutputFormat> outputFormatClass =
   Class.forName(xp.getOutputFormat()).asSubclass(HiveOutputFormat.class);
  partition.setOutputFormatClass(outputFormatClass);
 }
 partition.getParameters().put(MetastoreConstants.PARTITION_UPDATE_PERIOD, xp.getUpdatePeriod().name());
 partition.getTPartition().getSd().getSerdeInfo().setSerializationLib(xp.getSerdeClassname());
}
origin: org.apache.lens/lens-cube

public static void updatePartitionFromXPartition(Partition partition, XPartition xp) throws ClassNotFoundException {
 partition.getParameters().putAll(mapFromXProperties(xp.getPartitionParameters()));
 partition.getTPartition().getSd().getSerdeInfo().setParameters(mapFromXProperties(xp.getSerdeParameters()));
 partition.setLocation(xp.getLocation());
 if (xp.getInputFormat() != null) {
  partition.setInputFormatClass(Class.forName(xp.getInputFormat()).asSubclass(InputFormat.class));
 }
 if (xp.getOutputFormat() != null) {
  Class<? extends HiveOutputFormat> outputFormatClass =
   Class.forName(xp.getOutputFormat()).asSubclass(HiveOutputFormat.class);
  partition.setOutputFormatClass(outputFormatClass);
 }
 partition.getParameters().put(MetastoreConstants.PARTITION_UPDATE_PERIOD, xp.getUpdatePeriod().name());
 partition.getTPartition().getSd().getSerdeInfo().setSerializationLib(xp.getSerdeClassname());
}
origin: org.apache.lens/lens-cube

public static StoragePartitionDesc storagePartSpecFromXPartition(
 XPartition xpart) {
 StoragePartitionDesc partDesc = new StoragePartitionDesc(
  xpart.getFactOrDimensionTableName(),
  timePartSpecfromXTimePartSpec(xpart.getTimePartitionSpec()),
  nonTimePartSpecfromXNonTimePartSpec(xpart.getNonTimePartitionSpec()),
  UpdatePeriod.valueOf(xpart.getUpdatePeriod().name()));
 partDesc.setPartParams(mapFromXProperties(xpart.getPartitionParameters()));
 partDesc.setSerdeParams(mapFromXProperties(xpart.getSerdeParameters()));
 partDesc.setLocation(xpart.getLocation());
 partDesc.setInputFormat(xpart.getInputFormat());
 partDesc.setOutputFormat(xpart.getOutputFormat());
 partDesc.setSerializationLib(xpart.getSerdeClassname());
 return partDesc;
}
origin: apache/lens

public static StoragePartitionDesc storagePartSpecFromXPartition(
 XPartition xpart) {
 StoragePartitionDesc partDesc = new StoragePartitionDesc(
  xpart.getFactOrDimensionTableName(),
  timePartSpecfromXTimePartSpec(xpart.getTimePartitionSpec()),
  nonTimePartSpecfromXNonTimePartSpec(xpart.getNonTimePartitionSpec()),
  UpdatePeriod.valueOf(xpart.getUpdatePeriod().name()));
 partDesc.setPartParams(mapFromXProperties(xpart.getPartitionParameters()));
 partDesc.setSerdeParams(mapFromXProperties(xpart.getSerdeParameters()));
 partDesc.setLocation(xpart.getLocation());
 partDesc.setInputFormat(xpart.getInputFormat());
 partDesc.setOutputFormat(xpart.getOutputFormat());
 partDesc.setSerializationLib(xpart.getSerdeClassname());
 return partDesc;
}
origin: org.apache.lens/lens-api

theSerdeClassname = this.getSerdeClassname();
strategy.appendField(locator, this, "serdeClassname", buffer, theSerdeClassname);
origin: apache/lens

theSerdeClassname = this.getSerdeClassname();
strategy.appendField(locator, this, "serdeClassname", buffer, theSerdeClassname);
origin: org.apache.lens/lens-api

lhsSerdeClassname = this.getSerdeClassname();
String rhsSerdeClassname;
rhsSerdeClassname = that.getSerdeClassname();
if (!strategy.equals(LocatorUtils.property(thisLocator, "serdeClassname", lhsSerdeClassname), LocatorUtils.property(thatLocator, "serdeClassname", rhsSerdeClassname), lhsSerdeClassname, rhsSerdeClassname)) {
  return false;
origin: apache/lens

lhsSerdeClassname = this.getSerdeClassname();
String rhsSerdeClassname;
rhsSerdeClassname = that.getSerdeClassname();
if (!strategy.equals(LocatorUtils.property(thisLocator, "serdeClassname", lhsSerdeClassname), LocatorUtils.property(thatLocator, "serdeClassname", rhsSerdeClassname), lhsSerdeClassname, rhsSerdeClassname)) {
  return false;
origin: apache/lens

theSerdeClassname = this.getSerdeClassname();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serdeClassname", theSerdeClassname), currentHashCode, theSerdeClassname);
origin: org.apache.lens/lens-api

theSerdeClassname = this.getSerdeClassname();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "serdeClassname", theSerdeClassname), currentHashCode, theSerdeClassname);
org.apache.lens.api.metastoreXPartitiongetSerdeClassname

Javadoc

Gets the value of the serdeClassname property.

Popular methods of XPartition

  • setLocation
    Sets the value of the location property.
  • setFactOrDimensionTableName
    Sets the value of the factOrDimensionTableName property.
  • setTimePartitionSpec
    Sets the value of the timePartitionSpec property.
  • setUpdatePeriod
    Sets the value of the updatePeriod property.
  • <init>
  • getLocation
    Gets the value of the location property.
  • getUpdatePeriod
    Gets the value of the updatePeriod property.
  • getFactOrDimensionTableName
    Gets the value of the factOrDimensionTableName property.
  • getFullPartitionSpec
    Gets the value of the fullPartitionSpec property.
  • getNonTimePartitionSpec
    Gets the value of the nonTimePartitionSpec property.
  • getTimePartitionSpec
    Gets the value of the timePartitionSpec property.
  • setNonTimePartitionSpec
    Sets the value of the nonTimePartitionSpec property.
  • getTimePartitionSpec,
  • setNonTimePartitionSpec,
  • setPartitionParameters,
  • setSerdeParameters,
  • getInputFormat,
  • getOutputFormat,
  • getPartitionParameters,
  • getSerdeParameters,
  • setFullPartitionSpec

Popular in Java

  • Updating database using SQL prepared statement
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • findViewById (Activity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Table (org.hibernate.mapping)
    A relational table
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • CodeWhisperer alternatives
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