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

How to use cascading.tuple.io

Best Java code snippets using cascading.tuple.io (Showing top 20 results out of 315)

origin: cwensel/cascading

public TuplePair readTuplePair( TuplePair tuplePair ) throws IOException
 {
 Tuple[] tuples = TuplePair.tuples( tuplePair );
 readTuple( tuples[ 0 ] ); // guaranteed to not be null
 readTuple( tuples[ 1 ] ); // guaranteed to not be null
 return tuplePair;
 }
origin: cwensel/cascading

public void writeTuplePair( TuplePair tuplePair ) throws IOException
 {
 Tuple[] tuples = TuplePair.tuples( tuplePair );
 write( tuples[ 0 ] );
 write( tuples[ 1 ] );
 }
origin: cwensel/cascading

public TuplePair readTuplePair() throws IOException
 {
 return readTuplePair( new TuplePair() );
 }
origin: cwensel/cascading

@Override
protected Tuple unwrapGrouping( Tuple key )
 {
 return ( (IndexTuple) key ).getTuple();
 }
origin: cwensel/cascading

@Override
protected TuplePair createTuple()
 {
 return new TuplePair();
 }
}
origin: cwensel/cascading

@Override
protected ValueTuple createTuple()
 {
 return new ValueTuple();
 }
}
origin: cwensel/cascading

@Override
protected KeyTuple createTuple()
 {
 return new KeyTuple();
 }
}
origin: cwensel/cascading

@Override
public void close() throws IOException
 {
 tupleInputStream.close();
 }
};
origin: cwensel/cascading

@Override
protected T createTuple()
 {
 return (T) new IndexTuple();
 }
origin: cwensel/cascading

@Override
public void write( TupleOutputStream stream, Object element ) throws IOException
 {
 elementWriter.write( stream, type, element );
 }
};
origin: cwensel/cascading

@Override
public int compareTo( Tuple other )
 {
 if( other instanceof TuplePair )
  return compareTo( (TuplePair) other );
 else
  return -1;
 }
origin: cascading/cascading-hadoop2-io

@Override
protected KeyIndexTuple createTuple()
 {
 return new KeyIndexTuple();
 }
origin: cwensel/cascading

public void writeElementArray( Object[] elements ) throws IOException
 {
 writeIntInternal( elements.length );
 for( Object element : elements )
  writeElement( element );
 }
origin: cwensel/cascading

@Override
protected ValueIndexTuple createTuple()
 {
 return new ValueIndexTuple();
 }
origin: cwensel/cascading

/**
 * Method write is used by Hadoop to write this Tuple instance out to a file.
 *
 * @throws java.io.IOException when
 */
private void write( Tuple tuple ) throws IOException
 {
 writeUnTyped( tuple );
 }
origin: cascading/cascading-hadoop2-io

@Override
protected TuplePair createTuple()
 {
 return new TuplePair();
 }
}
origin: cascading/cascading-hadoop2-io

@Override
protected ValueTuple createTuple()
 {
 return new ValueTuple();
 }
}
origin: cascading/cascading-hadoop2-io

@Override
protected KeyTuple createTuple()
 {
 return new KeyTuple();
 }
}
origin: cwensel/cascading

@Override
public int compareTo( Object other )
 {
 if( other instanceof TuplePair )
  return compareTo( (TuplePair) other );
 else
  return -1;
 }
origin: cwensel/cascading

@Override
protected KeyIndexTuple createTuple()
 {
 return new KeyIndexTuple();
 }
cascading.tuple.io

Most used classes

  • TuplePair
  • IndexTuple
  • TupleInputStream
  • KeyTuple
  • TupleInputStream$ElementReader
  • TupleOutputStream,
  • ValueTuple,
  • KeyIndexTuple,
  • ValueIndexTuple,
  • TupleInputStream$TupleElementReader,
  • TupleOutputStream$TupleElementWriter
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