Tabnine Logo
DynMethods$BoundMethod
Code IndexAdd Tabnine to your IDE (free)

How to use
DynMethods$BoundMethod
in
com.netflix.iceberg.common

Best Java code snippets using com.netflix.iceberg.common.DynMethods$BoundMethod (Showing top 3 results out of 315)

origin: apache/incubator-iceberg

/**
 * Returns this method as a BoundMethod for the given receiver.
 *
 * @param receiver an Object to receive the method invocation
 * @return a {@link BoundMethod} for this method and the receiver
 * @throws IllegalStateException if the method is static
 * @throws IllegalArgumentException if the receiver's class is incompatible
 */
public BoundMethod bind(Object receiver) {
 Preconditions.checkState(!isStatic(),
   "Cannot bind static method " + method.toGenericString());
 Preconditions.checkArgument(
   method.getDeclaringClass().isAssignableFrom(receiver.getClass()),
   "Cannot bind " + method.toGenericString() + " to instance of " +
     receiver.getClass());
 return new BoundMethod(this, receiver);
}
origin: Netflix/iceberg

private void flushRowGroup(boolean finished) {
 try {
  if (recordCount > 0) {
   writer.startBlock(recordCount);
   writeStore.flush();
   flushPageStoreToWriter.invoke(writer);
   writer.endBlock();
   if (!finished) {
    startRowGroup();
   }
  }
 } catch (IOException e) {
  throw new RuntimeIOException(e, "Failed to flush row group");
 }
}
origin: apache/incubator-iceberg

@Override
public BoundMethod bind(Object receiver) {
 return new BoundMethod(this, receiver);
}
com.netflix.iceberg.commonDynMethods$BoundMethod

Most used methods

  • <init>
  • invoke

Popular in Java

  • Making http requests using okhttp
  • setScale (BigDecimal)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • ImageIO (javax.imageio)
  • Table (org.hibernate.mapping)
    A relational table
  • Best plugins for Eclipse
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