blob: c942c2736aee67bc33cb7523d3d720f584458439 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>AvroIO.Write (Apache Beam 2.38.0-SNAPSHOT)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="AvroIO.Write (Apache Beam 2.38.0-SNAPSHOT)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":42,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html" title="class in org.apache.beam.sdk.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/beam/sdk/io/AvroSchemaIOProvider.html" title="class in org.apache.beam.sdk.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/beam/sdk/io/AvroIO.Write.html" target="_top">Frames</a></li>
<li><a href="AvroIO.Write.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.beam.sdk.transforms.PTransform">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.beam.sdk.io</div>
<h2 title="Class AvroIO.Write" class="title">Class AvroIO.Write&lt;T&gt;</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms">org.apache.beam.sdk.transforms.PTransform</a>&lt;<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;T&gt;,<a href="../../../../../org/apache/beam/sdk/values/PDone.html" title="class in org.apache.beam.sdk.values">PDone</a>&gt;</li>
<li>
<ul class="inheritance">
<li>org.apache.beam.sdk.io.AvroIO.Write&lt;T&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.io.Serializable, <a href="../../../../../org/apache/beam/sdk/transforms/display/HasDisplayData.html" title="interface in org.apache.beam.sdk.transforms.display">HasDisplayData</a></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../../../org/apache/beam/sdk/io/AvroIO.html" title="class in org.apache.beam.sdk.io">AvroIO</a></dd>
</dl>
<hr>
<br>
<pre>public static class <span class="typeNameLabel">AvroIO.Write&lt;T&gt;</span>
extends <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms">PTransform</a>&lt;<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;T&gt;,<a href="../../../../../org/apache/beam/sdk/values/PDone.html" title="class in org.apache.beam.sdk.values">PDone</a>&gt;</pre>
<div class="block">This class is used as the default return value of <a href="../../../../../org/apache/beam/sdk/io/AvroIO.html#write-java.lang.Class-"><code>AvroIO.write(java.lang.Class&lt;T&gt;)</code></a>
<p>All methods in this class delegate to the appropriate method of <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html" title="class in org.apache.beam.sdk.io"><code>AvroIO.TypedWrite</code></a>.
This class exists for backwards compatibility, and will be removed in Beam 3.0.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../serialized-form.html#org.apache.beam.sdk.io.AvroIO.Write">Serialized Form</a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.beam.sdk.transforms.PTransform">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.beam.sdk.transforms.<a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms">PTransform</a></h3>
<code><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#name">name</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#resourceHints">resourceHints</a></code></li>
</ul>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/values/PDone.html" title="class in org.apache.beam.sdk.values">PDone</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#expand-org.apache.beam.sdk.values.PCollection-">expand</a></span>(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;input)</code>
<div class="block">Override this method to specify how this <code>PTransform</code> should be expanded on the given
<code>InputT</code>.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#populateDisplayData-org.apache.beam.sdk.transforms.display.DisplayData.Builder-">populateDisplayData</a></span>(<a href="../../../../../org/apache/beam/sdk/transforms/display/DisplayData.Builder.html" title="interface in org.apache.beam.sdk.transforms.display">DisplayData.Builder</a>&nbsp;builder)</code>
<div class="block">Register display data for the given transform or component.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#to-org.apache.beam.sdk.io.DynamicAvroDestinations-">to</a></span>(<a href="../../../../../org/apache/beam/sdk/io/DynamicAvroDestinations.html" title="class in org.apache.beam.sdk.io">DynamicAvroDestinations</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>,?,<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;dynamicDestinations)</code>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
<div class="block"><span class="deprecationComment">Use <a href="../../../../../org/apache/beam/sdk/io/FileIO.html#write--"><code>FileIO.write()</code></a> or <a href="../../../../../org/apache/beam/sdk/io/FileIO.html#writeDynamic--"><code>FileIO.writeDynamic()</code></a> instead.</span></div>
</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#to-org.apache.beam.sdk.io.FileBasedSink.FilenamePolicy-">to</a></span>(<a href="../../../../../org/apache/beam/sdk/io/FileBasedSink.FilenamePolicy.html" title="class in org.apache.beam.sdk.io">FileBasedSink.FilenamePolicy</a>&nbsp;filenamePolicy)</code>
<div class="block">See <code>TypedWrite#to(FilenamePolicy)</code>.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#to-org.apache.beam.sdk.io.fs.ResourceId-">to</a></span>(<a href="../../../../../org/apache/beam/sdk/io/fs/ResourceId.html" title="interface in org.apache.beam.sdk.io.fs">ResourceId</a>&nbsp;outputPrefix)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-org.apache.beam.sdk.io.fs.ResourceId-"><code>AvroIO.TypedWrite.to(ResourceId)</code></a> .</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#to-java.lang.String-">to</a></span>(java.lang.String&nbsp;outputPrefix)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-java.lang.String-"><code>AvroIO.TypedWrite.to(String)</code></a>.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#to-org.apache.beam.sdk.options.ValueProvider-">to</a></span>(<a href="../../../../../org/apache/beam/sdk/options/ValueProvider.html" title="interface in org.apache.beam.sdk.options">ValueProvider</a>&lt;java.lang.String&gt;&nbsp;outputPrefix)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-org.apache.beam.sdk.options.ValueProvider-"><code>AvroIO.TypedWrite.to(ValueProvider)</code></a>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#toResource-org.apache.beam.sdk.options.ValueProvider-">toResource</a></span>(<a href="../../../../../org/apache/beam/sdk/options/ValueProvider.html" title="interface in org.apache.beam.sdk.options">ValueProvider</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/fs/ResourceId.html" title="interface in org.apache.beam.sdk.io.fs">ResourceId</a>&gt;&nbsp;outputPrefix)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-org.apache.beam.sdk.io.fs.ResourceId-"><code>AvroIO.TypedWrite.to(ResourceId)</code></a>.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withCodec-org.apache.avro.file.CodecFactory-">withCodec</a></span>(<a href="https://static.javadoc.io/org.apache.avro/avro/1.8.2/org/apache/avro/file/CodecFactory.html?is-external=true" title="class or interface in org.apache.avro.file">CodecFactory</a>&nbsp;codec)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withCodec-org.apache.avro.file.CodecFactory-"><code>AvroIO.TypedWrite.withCodec(org.apache.avro.file.CodecFactory)</code></a>.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withDatumWriterFactory-org.apache.beam.sdk.io.AvroSink.DatumWriterFactory-">withDatumWriterFactory</a></span>(<a href="../../../../../org/apache/beam/sdk/io/AvroSink.DatumWriterFactory.html" title="interface in org.apache.beam.sdk.io">AvroSink.DatumWriterFactory</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;datumWriterFactory)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withDatumWriterFactory-org.apache.beam.sdk.io.AvroSink.DatumWriterFactory-"><code>AvroIO.TypedWrite.withDatumWriterFactory(org.apache.beam.sdk.io.AvroSink.DatumWriterFactory&lt;OutputT&gt;)</code></a>.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withMetadata-java.util.Map-">withMetadata</a></span>(java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;metadata)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withMetadata-java.util.Map-"><code>AvroIO.TypedWrite.withMetadata(java.util.Map&lt;java.lang.String, java.lang.Object&gt;)</code></a> .</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withNumShards-int-">withNumShards</a></span>(int&nbsp;numShards)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withNumShards-int-"><code>AvroIO.TypedWrite.withNumShards(int)</code></a>.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>&lt;DestinationT&gt;<br><a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html" title="class in org.apache.beam.sdk.io">AvroIO.TypedWrite</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>,DestinationT,<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withOutputFilenames--">withOutputFilenames</a></span>()</code>
<div class="block">Specify that output filenames are wanted.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withoutSharding--">withoutSharding</a></span>()</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withoutSharding--"><code>AvroIO.TypedWrite.withoutSharding()</code></a>.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withSchema-org.apache.avro.Schema-">withSchema</a></span>(<a href="https://static.javadoc.io/org.apache.avro/avro/1.8.2/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>&nbsp;schema)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withSchema-org.apache.avro.Schema-"><code>AvroIO.TypedWrite.withSchema(org.apache.avro.Schema)</code></a>.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withShardNameTemplate-java.lang.String-">withShardNameTemplate</a></span>(java.lang.String&nbsp;shardTemplate)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withShardNameTemplate-java.lang.String-"><code>AvroIO.TypedWrite.withShardNameTemplate(java.lang.String)</code></a>.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withSuffix-java.lang.String-">withSuffix</a></span>(java.lang.String&nbsp;filenameSuffix)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withSuffix-java.lang.String-"><code>AvroIO.TypedWrite.withSuffix(java.lang.String)</code></a>.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withTempDirectory-org.apache.beam.sdk.io.fs.ResourceId-">withTempDirectory</a></span>(<a href="../../../../../org/apache/beam/sdk/io/fs/ResourceId.html" title="interface in org.apache.beam.sdk.io.fs">ResourceId</a>&nbsp;tempDirectory)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withTempDirectory-org.apache.beam.sdk.io.fs.ResourceId-"><code>AvroIO.TypedWrite.withTempDirectory(ResourceId)</code></a>.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withTempDirectory-org.apache.beam.sdk.options.ValueProvider-">withTempDirectory</a></span>(<a href="../../../../../org/apache/beam/sdk/options/ValueProvider.html" title="interface in org.apache.beam.sdk.options">ValueProvider</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/fs/ResourceId.html" title="interface in org.apache.beam.sdk.io.fs">ResourceId</a>&gt;&nbsp;tempDirectory)</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withTempDirectory-org.apache.beam.sdk.options.ValueProvider-"><code>AvroIO.TypedWrite.withTempDirectory(ValueProvider)</code></a>.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#withWindowedWrites--">withWindowedWrites</a></span>()</code>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withWindowedWrites--"><code>AvroIO.TypedWrite.withWindowedWrites()</code></a>.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.beam.sdk.transforms.PTransform">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.beam.sdk.transforms.<a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms">PTransform</a></h3>
<code><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#compose-org.apache.beam.sdk.transforms.SerializableFunction-">compose</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#compose-java.lang.String-org.apache.beam.sdk.transforms.SerializableFunction-">compose</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#getAdditionalInputs--">getAdditionalInputs</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#getDefaultOutputCoder--">getDefaultOutputCoder</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#getDefaultOutputCoder-InputT-">getDefaultOutputCoder</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#getDefaultOutputCoder-InputT-org.apache.beam.sdk.values.PCollection-">getDefaultOutputCoder</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#getKindString--">getKindString</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#getName--">getName</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#getResourceHints--">getResourceHints</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#setResourceHints-org.apache.beam.sdk.transforms.resourcehints.ResourceHints-">setResourceHints</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#toString--">toString</a>, <a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#validate-org.apache.beam.sdk.options.PipelineOptions-">validate</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="to-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;to(java.lang.String&nbsp;outputPrefix)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-java.lang.String-"><code>AvroIO.TypedWrite.to(String)</code></a>.</div>
</li>
</ul>
<a name="to-org.apache.beam.sdk.io.fs.ResourceId-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre><a href="../../../../../org/apache/beam/sdk/annotations/Experimental.html" title="annotation in org.apache.beam.sdk.annotations">@Experimental</a>(<a href="../../../../../org/apache/beam/sdk/annotations/Experimental.html#value--">value</a>=<a href="../../../../../org/apache/beam/sdk/annotations/Experimental.Kind.html#FILESYSTEM">FILESYSTEM</a>)
public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;to(<a href="../../../../../org/apache/beam/sdk/io/fs/ResourceId.html" title="interface in org.apache.beam.sdk.io.fs">ResourceId</a>&nbsp;outputPrefix)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-org.apache.beam.sdk.io.fs.ResourceId-"><code>AvroIO.TypedWrite.to(ResourceId)</code></a> .</div>
</li>
</ul>
<a name="to-org.apache.beam.sdk.options.ValueProvider-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;to(<a href="../../../../../org/apache/beam/sdk/options/ValueProvider.html" title="interface in org.apache.beam.sdk.options">ValueProvider</a>&lt;java.lang.String&gt;&nbsp;outputPrefix)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-org.apache.beam.sdk.options.ValueProvider-"><code>AvroIO.TypedWrite.to(ValueProvider)</code></a>.</div>
</li>
</ul>
<a name="toResource-org.apache.beam.sdk.options.ValueProvider-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toResource</h4>
<pre><a href="../../../../../org/apache/beam/sdk/annotations/Experimental.html" title="annotation in org.apache.beam.sdk.annotations">@Experimental</a>(<a href="../../../../../org/apache/beam/sdk/annotations/Experimental.html#value--">value</a>=<a href="../../../../../org/apache/beam/sdk/annotations/Experimental.Kind.html#FILESYSTEM">FILESYSTEM</a>)
public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;toResource(<a href="../../../../../org/apache/beam/sdk/options/ValueProvider.html" title="interface in org.apache.beam.sdk.options">ValueProvider</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/fs/ResourceId.html" title="interface in org.apache.beam.sdk.io.fs">ResourceId</a>&gt;&nbsp;outputPrefix)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-org.apache.beam.sdk.io.fs.ResourceId-"><code>AvroIO.TypedWrite.to(ResourceId)</code></a>.</div>
</li>
</ul>
<a name="to-org.apache.beam.sdk.io.FileBasedSink.FilenamePolicy-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;to(<a href="../../../../../org/apache/beam/sdk/io/FileBasedSink.FilenamePolicy.html" title="class in org.apache.beam.sdk.io">FileBasedSink.FilenamePolicy</a>&nbsp;filenamePolicy)</pre>
<div class="block">See <code>TypedWrite#to(FilenamePolicy)</code>.</div>
</li>
</ul>
<a name="to-org.apache.beam.sdk.io.DynamicAvroDestinations-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>to</h4>
<pre>@Deprecated
public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;to(<a href="../../../../../org/apache/beam/sdk/io/DynamicAvroDestinations.html" title="class in org.apache.beam.sdk.io">DynamicAvroDestinations</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>,?,<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;dynamicDestinations)</pre>
<div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">Use <a href="../../../../../org/apache/beam/sdk/io/FileIO.html#write--"><code>FileIO.write()</code></a> or <a href="../../../../../org/apache/beam/sdk/io/FileIO.html#writeDynamic--"><code>FileIO.writeDynamic()</code></a> instead.</span></div>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#to-org.apache.beam.sdk.io.DynamicAvroDestinations-"><code>AvroIO.TypedWrite.to(DynamicAvroDestinations)</code></a>.</div>
</li>
</ul>
<a name="withSchema-org.apache.avro.Schema-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withSchema</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withSchema(<a href="https://static.javadoc.io/org.apache.avro/avro/1.8.2/org/apache/avro/Schema.html?is-external=true" title="class or interface in org.apache.avro">Schema</a>&nbsp;schema)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withSchema-org.apache.avro.Schema-"><code>AvroIO.TypedWrite.withSchema(org.apache.avro.Schema)</code></a>.</div>
</li>
</ul>
<a name="withTempDirectory-org.apache.beam.sdk.options.ValueProvider-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withTempDirectory</h4>
<pre><a href="../../../../../org/apache/beam/sdk/annotations/Experimental.html" title="annotation in org.apache.beam.sdk.annotations">@Experimental</a>(<a href="../../../../../org/apache/beam/sdk/annotations/Experimental.html#value--">value</a>=<a href="../../../../../org/apache/beam/sdk/annotations/Experimental.Kind.html#FILESYSTEM">FILESYSTEM</a>)
public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withTempDirectory(<a href="../../../../../org/apache/beam/sdk/options/ValueProvider.html" title="interface in org.apache.beam.sdk.options">ValueProvider</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/fs/ResourceId.html" title="interface in org.apache.beam.sdk.io.fs">ResourceId</a>&gt;&nbsp;tempDirectory)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withTempDirectory-org.apache.beam.sdk.options.ValueProvider-"><code>AvroIO.TypedWrite.withTempDirectory(ValueProvider)</code></a>.</div>
</li>
</ul>
<a name="withTempDirectory-org.apache.beam.sdk.io.fs.ResourceId-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withTempDirectory</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withTempDirectory(<a href="../../../../../org/apache/beam/sdk/io/fs/ResourceId.html" title="interface in org.apache.beam.sdk.io.fs">ResourceId</a>&nbsp;tempDirectory)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withTempDirectory-org.apache.beam.sdk.io.fs.ResourceId-"><code>AvroIO.TypedWrite.withTempDirectory(ResourceId)</code></a>.</div>
</li>
</ul>
<a name="withShardNameTemplate-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withShardNameTemplate</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withShardNameTemplate(java.lang.String&nbsp;shardTemplate)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withShardNameTemplate-java.lang.String-"><code>AvroIO.TypedWrite.withShardNameTemplate(java.lang.String)</code></a>.</div>
</li>
</ul>
<a name="withSuffix-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withSuffix</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withSuffix(java.lang.String&nbsp;filenameSuffix)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withSuffix-java.lang.String-"><code>AvroIO.TypedWrite.withSuffix(java.lang.String)</code></a>.</div>
</li>
</ul>
<a name="withNumShards-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withNumShards</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withNumShards(int&nbsp;numShards)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withNumShards-int-"><code>AvroIO.TypedWrite.withNumShards(int)</code></a>.</div>
</li>
</ul>
<a name="withoutSharding--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withoutSharding</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withoutSharding()</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withoutSharding--"><code>AvroIO.TypedWrite.withoutSharding()</code></a>.</div>
</li>
</ul>
<a name="withWindowedWrites--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withWindowedWrites</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withWindowedWrites()</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withWindowedWrites--"><code>AvroIO.TypedWrite.withWindowedWrites()</code></a>.</div>
</li>
</ul>
<a name="withCodec-org.apache.avro.file.CodecFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withCodec</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withCodec(<a href="https://static.javadoc.io/org.apache.avro/avro/1.8.2/org/apache/avro/file/CodecFactory.html?is-external=true" title="class or interface in org.apache.avro.file">CodecFactory</a>&nbsp;codec)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withCodec-org.apache.avro.file.CodecFactory-"><code>AvroIO.TypedWrite.withCodec(org.apache.avro.file.CodecFactory)</code></a>.</div>
</li>
</ul>
<a name="withDatumWriterFactory-org.apache.beam.sdk.io.AvroSink.DatumWriterFactory-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withDatumWriterFactory</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withDatumWriterFactory(<a href="../../../../../org/apache/beam/sdk/io/AvroSink.DatumWriterFactory.html" title="interface in org.apache.beam.sdk.io">AvroSink.DatumWriterFactory</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;datumWriterFactory)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withDatumWriterFactory-org.apache.beam.sdk.io.AvroSink.DatumWriterFactory-"><code>AvroIO.TypedWrite.withDatumWriterFactory(org.apache.beam.sdk.io.AvroSink.DatumWriterFactory&lt;OutputT&gt;)</code></a>.</div>
</li>
</ul>
<a name="withOutputFilenames--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withOutputFilenames</h4>
<pre>public&nbsp;&lt;DestinationT&gt;&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html" title="class in org.apache.beam.sdk.io">AvroIO.TypedWrite</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>,DestinationT,<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withOutputFilenames()</pre>
<div class="block">Specify that output filenames are wanted.
<p>The nested <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html" title="class in org.apache.beam.sdk.io"><code>AvroIO.TypedWrite</code></a>transform always has access to output filenames, however due
to backwards-compatibility concerns, <a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io"><code>AvroIO.Write</code></a> cannot return them. This method simply
returns the inner <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html" title="class in org.apache.beam.sdk.io"><code>AvroIO.TypedWrite</code></a> transform which has <a href="../../../../../org/apache/beam/sdk/io/WriteFilesResult.html" title="class in org.apache.beam.sdk.io"><code>WriteFilesResult</code></a> as its
output type, allowing access to output files.
<p>The supplied <code>DestinationT</code> type must be: the same as that supplied in <a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html#to-org.apache.beam.sdk.io.DynamicAvroDestinations-"><code>to(DynamicAvroDestinations)</code></a> if that method was used, or <code>Void</code> otherwise.</div>
</li>
</ul>
<a name="withMetadata-java.util.Map-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>withMetadata</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="class in org.apache.beam.sdk.io">AvroIO.Write</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;withMetadata(java.util.Map&lt;java.lang.String,java.lang.Object&gt;&nbsp;metadata)</pre>
<div class="block">See <a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html#withMetadata-java.util.Map-"><code>AvroIO.TypedWrite.withMetadata(java.util.Map&lt;java.lang.String, java.lang.Object&gt;)</code></a> .</div>
</li>
</ul>
<a name="expand-org.apache.beam.sdk.values.PCollection-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>expand</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/beam/sdk/values/PDone.html" title="class in org.apache.beam.sdk.values">PDone</a>&nbsp;expand(<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;&nbsp;input)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#expand-InputT-">PTransform</a></code></span></div>
<div class="block">Override this method to specify how this <code>PTransform</code> should be expanded on the given
<code>InputT</code>.
<p>NOTE: This method should not be called directly. Instead apply the <code>PTransform</code> should
be applied to the <code>InputT</code> using the <code>apply</code> method.
<p>Composite transforms, which are defined in terms of other transforms, should return the
output of one of the composed transforms. Non-composite transforms, which do not apply any
transforms internally, should return a new unbound output and register evaluators (via
backend-specific registration methods).</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#expand-InputT-">expand</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms">PTransform</a>&lt;<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;,<a href="../../../../../org/apache/beam/sdk/values/PDone.html" title="class in org.apache.beam.sdk.values">PDone</a>&gt;</code></dd>
</dl>
</li>
</ul>
<a name="populateDisplayData-org.apache.beam.sdk.transforms.display.DisplayData.Builder-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>populateDisplayData</h4>
<pre>public&nbsp;void&nbsp;populateDisplayData(<a href="../../../../../org/apache/beam/sdk/transforms/display/DisplayData.Builder.html" title="interface in org.apache.beam.sdk.transforms.display">DisplayData.Builder</a>&nbsp;builder)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#populateDisplayData-org.apache.beam.sdk.transforms.display.DisplayData.Builder-">PTransform</a></code></span></div>
<div class="block">Register display data for the given transform or component.
<p><code>populateDisplayData(DisplayData.Builder)</code> is invoked by Pipeline runners to collect
display data via <a href="../../../../../org/apache/beam/sdk/transforms/display/DisplayData.html#from-org.apache.beam.sdk.transforms.display.HasDisplayData-"><code>DisplayData.from(HasDisplayData)</code></a>. Implementations may call <code>super.populateDisplayData(builder)</code> in order to register display data in the current namespace,
but should otherwise use <code>subcomponent.populateDisplayData(builder)</code> to use the namespace
of the subcomponent.
<p>By default, does not register any display data. Implementors may override this method to
provide their own display data.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/transforms/display/HasDisplayData.html#populateDisplayData-org.apache.beam.sdk.transforms.display.DisplayData.Builder-">populateDisplayData</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/beam/sdk/transforms/display/HasDisplayData.html" title="interface in org.apache.beam.sdk.transforms.display">HasDisplayData</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html#populateDisplayData-org.apache.beam.sdk.transforms.display.DisplayData.Builder-">populateDisplayData</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/apache/beam/sdk/transforms/PTransform.html" title="class in org.apache.beam.sdk.transforms">PTransform</a>&lt;<a href="../../../../../org/apache/beam/sdk/values/PCollection.html" title="class in org.apache.beam.sdk.values">PCollection</a>&lt;<a href="../../../../../org/apache/beam/sdk/io/AvroIO.Write.html" title="type parameter in AvroIO.Write">T</a>&gt;,<a href="../../../../../org/apache/beam/sdk/values/PDone.html" title="class in org.apache.beam.sdk.values">PDone</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>builder</code> - The builder to populate with display data.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../org/apache/beam/sdk/transforms/display/HasDisplayData.html" title="interface in org.apache.beam.sdk.transforms.display"><code>HasDisplayData</code></a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/beam/sdk/io/AvroIO.TypedWrite.html" title="class in org.apache.beam.sdk.io"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/beam/sdk/io/AvroSchemaIOProvider.html" title="class in org.apache.beam.sdk.io"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/beam/sdk/io/AvroIO.Write.html" target="_top">Frames</a></li>
<li><a href="AvroIO.Write.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.beam.sdk.transforms.PTransform">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>