Difference between revisions of "BlobMapping"

From OS.bee documentation
Jump to: navigation, search
(Created page with " = BlobMapping = This is a custom datatypes that allows the use of big data as blob.")
 
(BlobMapping)
 
Line 2: Line 2:
 
= BlobMapping =
 
= BlobMapping =
 
This is a custom datatypes that allows the use of big data as blob.
 
This is a custom datatypes that allows the use of big data as blob.
 +
<syntaxhighlight lang="xtend">
 +
datatype BlobMapping jvmType java.lang.String
 +
properties (
 +
key="Blob" value="2"
 +
/**
 +
* value="0" name="unnormalized" resolution="unknown"
 +
* value="1" name="small" resolution="16x16"
 +
* value="2" name="mid" resolution="64x64"
 +
* value="3" name="portrait" resolution="64x128"
 +
* value="4" name="landscape" resolution="128x64"
 +
* value="5" name="big" resolution="200x-1"
 +
*
 +
*/
 +
);
 +
</syntaxhighlight>

Latest revision as of 14:03, 13 March 2017

BlobMapping

This is a custom datatypes that allows the use of big data as blob.

	datatype BlobMapping jvmType java.lang.String 
	properties (
		key="Blob" value="2"
		/**
		 * value="0" name="unnormalized" resolution="unknown"
		 * value="1" name="small" resolution="16x16"
		 * value="2" name="mid" resolution="64x64"
		 * value="3" name="portrait" resolution="64x128"
		 * value="4" name="landscape" resolution="128x64"
		 * value="5" name="big" resolution="200x-1"
		 * 			 
		 */
	);