[prev in list] [next in list] [prev in thread] [next in thread] 

List:       avro-user
Subject:    Re: Adding "doc"'s over multiple lines
From:       Lewis John Mcgibbney <lewis.mcgibbney () gmail ! com>
Date:       2013-11-07 21:54:16
Message-ID: CAGaRif1RON951Y_yMfYPdaPZyh+p+PyrdtqEG+-ahoDCrQq7Jw () mail ! gmail ! com
[Download RAW message or body]

Hi Bertrand,
Thanks for speedy reply.
Thats fine. I can live with editor wrapping for the time being :)
Best
Lewis


On Thu, Nov 7, 2013 at 9:38 PM, Bertrand Dechoux <dechouxb@gmail.com> wrote:

> I am afraid the answer is editor wrapping.
>
> Or using avdl instead of avsc and transforming the former into the latter
> : https://issues.apache.org/jira/browse/AVRO-1337.
>
> Bertrand
>
>
>
> On Thu, Nov 7, 2013 at 10:20 PM, Lewis John Mcgibbney <
> lewis.mcgibbney@gmail.com> wrote:
>
>> Hi Folks,
>> Can someone please put me out of my misery here and explain how I can
>> change this
>>
>>           "type": "record",
>>           "name": "Reference",
>>           "namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
>>           "doc": "A reference stores the original item reference, and
>> also the item's data store reference, which describes its location within
>> the data store.",
>>
>> to this
>>
>>           "type": "record",
>>           "name": "Reference",
>>           "namespace": "org.apache.oodt.cas.filemgr.catalog.gora.structs",
>>           "doc": "A reference stores the original item reference, and
>> also the /n
>>            item's data store reference, which describes its location
>> within the /n
>>            data store.",
>> Basically I have lots of long doc strings to deal with and would like to
>> split them over multiple lines.
>> Thank you. I have a fear that this is basic JSON but I haven't found
>> anything yet!
>>  Lewis
>>
>> --
>> *Lewis*
>>
>
>


-- 
*Lewis*

[Attachment #3 (text/html)]

<div dir="ltr"><div><div><div>Hi Bertrand,<br></div>Thanks for speedy \
reply.<br></div>Thats fine. I can live with editor wrapping for the time being \
:)<br></div>Best<br>Lewis<br></div><div class="gmail_extra"><br><br><div \
class="gmail_quote"> On Thu, Nov 7, 2013 at 9:38 PM, Bertrand Dechoux <span \
dir="ltr">&lt;<a href="mailto:dechouxb@gmail.com" \
target="_blank">dechouxb@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div dir="ltr"><div>I am afraid the answer is editor \
wrapping.<br><br></div><div>Or using avdl instead of avsc and transforming the former \
into the latter : <a href="https://issues.apache.org/jira/browse/AVRO-1337" \
target="_blank">https://issues.apache.org/jira/browse/AVRO-1337</a>.<span \
class="HOEnZb"><font color="#888888"><br>

</font></span></div><span class="HOEnZb"><font \
color="#888888"><div><br></div>Bertrand</font></span><div><div class="h5"><br><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 10:20 PM, \
Lewis John Mcgibbney <span dir="ltr">&lt;<a href="mailto:lewis.mcgibbney@gmail.com" \
target="_blank">lewis.mcgibbney@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi \
Folks,<br></div>Can someone please put me out of my misery here and explain how I can \
change this<br>

<br>          &quot;type&quot;: &quot;record&quot;,<br>          &quot;name&quot;: \
&quot;Reference&quot;,<br>  &quot;namespace&quot;: \
&quot;org.apache.oodt.cas.filemgr.catalog.gora.structs&quot;,<br>          \
&quot;doc&quot;: &quot;A reference stores the original item reference, and also the \
item&#39;s data store reference, which describes its location within the data \
store.&quot;,<br>


<br></div>to this<br><br>          &quot;type&quot;: &quot;record&quot;,<br>          \
&quot;name&quot;: &quot;Reference&quot;,<br>          &quot;namespace&quot;: \
&quot;org.apache.oodt.cas.filemgr.catalog.gora.structs&quot;,<br>


          &quot;doc&quot;: &quot;A reference stores the original item reference, and \
also the /n <br>           item&#39;s data store reference, which describes its \
location within the /n<br>           data store.&quot;,<br>


</div><div>Basically I have lots of long doc strings to deal with and would like to \
split them over multiple lines.<br></div>Thank you. I have a fear that this is basic \
JSON but I haven&#39;t found anything yet!<span><font color="#888888"><br>

</font></span></div><span><font color="#888888">
Lewis<br clear="all"><div><div><div><div><div><br>-- <br><font \
style="color:rgb(51,102,255);font-family:courier new,monospace" \
size="4"><i>Lewis</i></font><span style="color:rgb(51,102,255)"></span> <br>

</div></div></div></div></div></font></span></div>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><font style="font-family:courier \
new,monospace;background-color:rgb(255,255,255);color:rgb(51,102,255)" \
size="4"><i>Lewis</i></font><span \
style="background-color:rgb(255,255,255);color:rgb(51,102,255)"></span> <br>

</div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic