SampledEntityClass

SampledEntityClass[class,n]

represents an entity class containing n entities from class.

SampledEntityClass[class,{m,n}]

represents an entity class containing entities m through n of class.

Details

Examples

open allclose all

Basic Examples  (3)

Use SampledEntityClass to look at the first few entities:

Use SampledEntityClass to look at the following entities by specifying an offset:

When used with relational-database-backed entities, SampledEntityClass is compiled to LIMIT and OFFSET statements:

Scope  (1)

Whenever there are more entities than requested, all of the entities are returned:

Properties & Relations  (2)

When SampledEntityClass is applied to SortedEntityClass:

The same class can be more simply expressed by using SortedEntityClass with three arguments:

Some entity types support the special property "SampleEntities":

SampledEntityClass can also be used on various types of entity classes:

Neat Examples  (1)

Create an image collage of 16 elements:

Wolfram Research (2019), SampledEntityClass, Wolfram Language function, https://reference.wolfram.com/language/ref/SampledEntityClass.html.

Text

Wolfram Research (2019), SampledEntityClass, Wolfram Language function, https://reference.wolfram.com/language/ref/SampledEntityClass.html.

BibTeX

@misc{reference.wolfram_2021_sampledentityclass, author="Wolfram Research", title="{SampledEntityClass}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/SampledEntityClass.html}", note=[Accessed: 25-September-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_sampledentityclass, organization={Wolfram Research}, title={SampledEntityClass}, year={2019}, url={https://reference.wolfram.com/language/ref/SampledEntityClass.html}, note=[Accessed: 25-September-2021 ]}

CMS

Wolfram Language. 2019. "SampledEntityClass." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/SampledEntityClass.html.

APA

Wolfram Language. (2019). SampledEntityClass. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/SampledEntityClass.html