docstring_tokens
list | code_tokens
list |
---|---|
[
"<",
"p",
">",
"an",
"axis",
"-",
"aligned",
"coarse",
"representation",
"of",
"the",
"detected",
"text",
"s",
"location",
"on",
"the",
"image",
"<",
"/",
"p",
">"
]
| [
"set",
"bounding",
"box",
"(",
"bounding",
"box",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"within",
"the",
"bounding",
"box",
"a",
"fine",
"-",
"grained",
"polygon",
"around",
"the",
"detected",
"text",
"<",
"/",
"p",
">"
]
| [
"return",
"polygon",
";"
]
|
[
"<",
"p",
">",
"within",
"the",
"bounding",
"box",
"a",
"fine",
"-",
"grained",
"polygon",
"around",
"the",
"detected",
"text",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"polygon",
"=",
"=",
"null",
")",
"{",
"this",
"polygon",
"=",
"null",
";",
"return",
";",
"}",
"this",
"polygon",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"point",
">",
"(",
"polygon",
")",
";"
]
|
[
"<",
"p",
">",
"within",
"the",
"bounding",
"box",
"a",
"fine",
"-",
"grained",
"polygon",
"around",
"the",
"detected",
"text",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"polygon",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"polygon",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"polygon",
"=",
"=",
"null",
")",
"{",
"set",
"polygon",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"point",
">",
"(",
"polygon",
"length",
")",
")",
";",
"}",
"for",
"(",
"point",
"ele",
":",
"polygon",
")",
"{",
"this",
"polygon",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"within",
"the",
"bounding",
"box",
"a",
"fine",
"-",
"grained",
"polygon",
"around",
"the",
"detected",
"text",
"<",
"/",
"p",
">"
]
| [
"set",
"polygon",
"(",
"polygon",
")",
";",
"return",
"this",
";"
]
|
[
"protect",
"a",
"blob",
"of",
"data"
]
| [
"return",
"crypt",
"protect",
"data",
"(",
"data",
",",
"0",
")",
";"
]
|
[
"protect",
"a",
"blob",
"of",
"data",
"with",
"optional",
"flags"
]
| [
"return",
"crypt",
"protect",
"data",
"(",
"data",
",",
"null",
",",
"flags",
",",
"\"",
"\"",
",",
"null",
")",
";"
]
|
[
"protect",
"a",
"blob",
"of",
"data"
]
| [
"data",
"blob",
"p",
"data",
"in",
"=",
"new",
"data",
"blob",
"(",
"data",
")",
";",
"data",
"blob",
"p",
"data",
"protected",
"=",
"new",
"data",
"blob",
"(",
")",
";",
"data",
"blob",
"p",
"entropy",
"=",
"(",
"entropy",
"=",
"=",
"null",
")",
"?",
"null",
":",
"new",
"data",
"blob",
"(",
"entropy",
")",
";",
"try",
"{",
"if",
"(",
"!",
"crypt",
"3",
"2",
"instance",
"crypt",
"protect",
"data",
"(",
"p",
"data",
"in",
",",
"description",
",",
"p",
"entropy",
",",
"null",
",",
"prompt",
",",
"flags",
",",
"p",
"data",
"protected",
")",
")",
"{",
"throw",
"new",
"win",
"3",
"2",
"exception",
"(",
"kernel",
"3",
"2",
"instance",
"get",
"last",
"error",
"(",
")",
")",
";",
"}",
"return",
"p",
"data",
"protected",
"get",
"data",
"(",
")",
";",
"}",
"finally",
"{",
"if",
"(",
"p",
"data",
"protected",
"pb",
"data",
"!",
"=",
"null",
")",
"{",
"kernel",
"3",
"2",
"util",
"free",
"local",
"memory",
"(",
"p",
"data",
"protected",
"pb",
"data",
")",
";",
"}",
"}"
]
|
[
"unprotect",
"a",
"blob",
"of",
"data"
]
| [
"return",
"crypt",
"unprotect",
"data",
"(",
"data",
",",
"0",
")",
";"
]
|
[
"unprotect",
"a",
"blob",
"of",
"data"
]
| [
"return",
"crypt",
"unprotect",
"data",
"(",
"data",
",",
"null",
",",
"flags",
",",
"null",
")",
";"
]
|
[
"unprotect",
"a",
"blob",
"of",
"data"
]
| [
"data",
"blob",
"p",
"data",
"in",
"=",
"new",
"data",
"blob",
"(",
"data",
")",
";",
"data",
"blob",
"p",
"data",
"unprotected",
"=",
"new",
"data",
"blob",
"(",
")",
";",
"data",
"blob",
"p",
"entropy",
"=",
"(",
"entropy",
"=",
"=",
"null",
")",
"?",
"null",
":",
"new",
"data",
"blob",
"(",
"entropy",
")",
";",
"pointer",
"by",
"reference",
"p",
"description",
"=",
"new",
"pointer",
"by",
"reference",
"(",
")",
";",
"win",
"3",
"2",
"exception",
"err",
"=",
"null",
";",
"byte",
"[",
"]",
"un",
"protected",
"data",
"=",
"null",
";",
"try",
"{",
"if",
"(",
"!",
"crypt",
"3",
"2",
"instance",
"crypt",
"unprotect",
"data",
"(",
"p",
"data",
"in",
",",
"p",
"description",
",",
"p",
"entropy",
",",
"null",
",",
"prompt",
",",
"flags",
",",
"p",
"data",
"unprotected",
")",
")",
"{",
"err",
"=",
"new",
"win",
"3",
"2",
"exception",
"(",
"kernel",
"3",
"2",
"instance",
"get",
"last",
"error",
"(",
")",
")",
";",
"}",
"else",
"{",
"un",
"protected",
"data",
"=",
"p",
"data",
"unprotected",
"get",
"data",
"(",
")",
";",
"}",
"}",
"finally",
"{",
"if",
"(",
"p",
"data",
"unprotected",
"pb",
"data",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"kernel",
"3",
"2",
"util",
"free",
"local",
"memory",
"(",
"p",
"data",
"unprotected",
"pb",
"data",
")",
";",
"}",
"catch",
"(",
"win",
"3",
"2",
"exception",
"e",
")",
"{",
"if",
"(",
"err",
"=",
"=",
"null",
")",
"{",
"err",
"=",
"e",
";",
"}",
"else",
"{",
"err",
"add",
"suppressed",
"reflected",
"(",
"e",
")",
";",
"}",
"}",
"}",
"if",
"(",
"p",
"description",
"get",
"value",
"(",
")",
"!",
"=",
"null",
")",
"{",
"try",
"{",
"kernel",
"3",
"2",
"util",
"free",
"local",
"memory",
"(",
"p",
"description",
"get",
"value",
"(",
")",
")",
";",
"}",
"catch",
"(",
"win",
"3",
"2",
"exception",
"e",
")",
"{",
"if",
"(",
"err",
"=",
"=",
"null",
")",
"{",
"err",
"=",
"e",
";",
"}",
"else",
"{",
"err",
"add",
"suppressed",
"reflected",
"(",
"e",
")",
";",
"}",
"}",
"}",
"}",
"if",
"(",
"err",
"!",
"=",
"null",
")",
"{",
"throw",
"err",
";",
"}",
"return",
"un",
"protected",
"data",
";"
]
|
[
"returns",
"the",
"type",
"of",
"the",
"track",
"the",
"type",
"should",
"be",
"one",
"of",
"the",
"followings",
":",
"{"
]
| [
"return",
"m",
"type",
";"
]
|
[
"returns",
"the",
"language",
"information",
"encoded",
"by",
"either",
"iso",
"639",
"-",
"1",
"or",
"iso",
"639",
"-",
"2",
"/",
"t",
"if",
"the",
"language",
"is",
"unknown",
"or",
"could",
"not",
"be",
"determined",
"the",
"corresponding",
"value",
"will",
"be",
"{"
]
| [
"return",
"m",
"language",
";"
]
|
[
"returns",
"a",
"user",
"readable",
"description",
"for",
"the",
"current",
"track"
]
| [
"return",
"m",
"description",
";"
]
|
[
"returns",
"the",
"extra",
"information",
"about",
"the",
"current",
"track"
]
| [
"return",
"m",
"extra",
";"
]
|
[
"used",
"to",
"package",
"this",
"object",
"into",
"a",
"{",
"@",
"link",
"parcel",
"}"
]
| [
"dest",
"write",
"int",
"(",
"m",
"type",
")",
";",
"dest",
"write",
"string",
"(",
"m",
"id",
")",
";",
"dest",
"write",
"string",
"(",
"m",
"language",
")",
";",
"dest",
"write",
"string",
"(",
"m",
"description",
"!",
"=",
"null",
"?",
"m",
"description",
"to",
"string",
"(",
")",
":",
"null",
")",
";",
"dest",
"write",
"int",
"(",
"m",
"audio",
"channel",
"count",
")",
";",
"dest",
"write",
"int",
"(",
"m",
"audio",
"sample",
"rate",
")",
";",
"dest",
"write",
"int",
"(",
"m",
"video",
"width",
")",
";",
"dest",
"write",
"int",
"(",
"m",
"video",
"height",
")",
";",
"dest",
"write",
"float",
"(",
"m",
"video",
"frame",
"rate",
")",
";",
"dest",
"write",
"float",
"(",
"m",
"video",
"pixel",
"aspect",
"ratio",
")",
";",
"dest",
"write",
"byte",
"(",
"m",
"video",
"active",
"format",
"description",
")",
";",
"dest",
"write",
"bundle",
"(",
"m",
"extra",
")",
";"
]
|
[
"sets",
"the",
"language",
"information",
"of",
"the",
"current",
"track"
]
| [
"m",
"language",
"=",
"language",
";",
"return",
"this",
";"
]
|
[
"sets",
"a",
"user",
"readable",
"description",
"for",
"the",
"current",
"track"
]
| [
"m",
"description",
"=",
"description",
";",
"return",
"this",
";"
]
|
[
"sets",
"the",
"extra",
"information",
"about",
"the",
"current",
"track"
]
| [
"m",
"extra",
"=",
"new",
"bundle",
"(",
"extra",
")",
";",
"return",
"this",
";"
]
|
[
"creates",
"a",
"{",
"@",
"link",
"tv",
"track",
"info",
"}",
"instance",
"with",
"the",
"specified",
"fields"
]
| [
"return",
"new",
"tv",
"track",
"info",
"(",
"m",
"type",
",",
"m",
"id",
",",
"m",
"language",
",",
"m",
"description",
",",
"m",
"audio",
"channel",
"count",
",",
"m",
"audio",
"sample",
"rate",
",",
"m",
"video",
"width",
",",
"m",
"video",
"height",
",",
"m",
"video",
"frame",
"rate",
",",
"m",
"video",
"pixel",
"aspect",
"ratio",
",",
"m",
"video",
"active",
"format",
"description",
",",
"m",
"extra",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"of",
"the",
"amazon",
"sns",
"topic",
"to",
"notify",
"when",
"the",
"bounce",
"action",
"is",
"taken",
"an",
"example",
"of",
"an",
"amazon",
"sns",
"topic",
"arn",
"is",
"<",
"code",
">",
"arn",
":",
"aws",
":",
"sns",
":",
"us",
"-",
"west",
"-",
"2",
":",
"123456789012",
":",
"my",
"topic",
"<",
"/",
"code",
">",
"for",
"more",
"information",
"about",
"amazon",
"sns",
"topics",
"see",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"sns",
"/",
"latest",
"/",
"dg",
"/",
"create",
"topic",
"html",
">",
"amazon",
"sns",
"developer",
"guide",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"topic",
"arn",
"(",
"topic",
"arn",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"smtp",
"reply",
"code",
"as",
"defined",
"by",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"tools",
"ietf",
"org",
"/",
"html",
"/",
"rfc",
"5",
"3",
"2",
"1",
">",
"rfc",
"5321",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
]
| [
"this",
"smtp",
"reply",
"code",
"=",
"smtp",
"reply",
"code",
";"
]
|
[
"<",
"p",
">",
"the",
"smtp",
"reply",
"code",
"as",
"defined",
"by",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"tools",
"ietf",
"org",
"/",
"html",
"/",
"rfc",
"5",
"3",
"2",
"1",
">",
"rfc",
"5321",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"smtp",
"reply",
"code",
";"
]
|
[
"<",
"p",
">",
"the",
"smtp",
"reply",
"code",
"as",
"defined",
"by",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"tools",
"ietf",
"org",
"/",
"html",
"/",
"rfc",
"5",
"3",
"2",
"1",
">",
"rfc",
"5321",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"smtp",
"reply",
"code",
"(",
"smtp",
"reply",
"code",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"smtp",
"enhanced",
"status",
"code",
"as",
"defined",
"by",
"<",
"a",
"href",
"=",
"https",
":",
"/",
"/",
"tools",
"ietf",
"org",
"/",
"html",
"/",
"rfc",
"3",
"4",
"6",
"3",
">",
"rfc",
"3463",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"status",
"code",
"(",
"status",
"code",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"human",
"-",
"readable",
"text",
"to",
"include",
"in",
"the",
"bounce",
"message",
"<",
"/",
"p",
">"
]
| [
"set",
"message",
"(",
"message",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"email",
"address",
"of",
"the",
"sender",
"of",
"the",
"bounced",
"email",
"this",
"is",
"the",
"address",
"from",
"which",
"the",
"bounce",
"message",
"will",
"be",
"sent",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"sender",
";"
]
|
[
"<",
"p",
">",
"the",
"email",
"address",
"of",
"the",
"sender",
"of",
"the",
"bounced",
"email",
"this",
"is",
"the",
"address",
"from",
"which",
"the",
"bounce",
"message",
"will",
"be",
"sent",
"<",
"/",
"p",
">"
]
| [
"set",
"sender",
"(",
"sender",
")",
";",
"return",
"this",
";"
]
|
[
"loads",
"a",
"given",
"set",
"of",
"class",
"descriptions",
"and",
"their",
"binary",
"representations",
"using",
"a",
"child",
"-",
"first",
"class",
"loader"
]
| [
"return",
"load",
"(",
"class",
"loader",
",",
"types",
",",
"class",
"loading",
"strategy",
"no",
"protection",
"domain",
",",
"persistence",
"handler",
"latent",
",",
"package",
"definition",
"strategy",
"trivial",
"instance",
",",
"false",
",",
"true",
")",
";"
]
|
[
"{"
]
| [
"return",
"persistence",
"handler",
"url",
"(",
"name",
",",
"type",
"definitions",
")",
";"
]
|
[
"{"
]
| [
"url",
"url",
"=",
"persistence",
"handler",
"url",
"(",
"name",
",",
"type",
"definitions",
")",
";",
"return",
"url",
"=",
"=",
"null",
"?",
"empty",
"enumeration",
"instance",
":",
"new",
"singleton",
"enumeration",
"(",
"url",
")",
";"
]
|
[
"{"
]
| [
"url",
"url",
"=",
"persistence",
"handler",
"url",
"(",
"name",
",",
"type",
"definitions",
")",
";",
"return",
"url",
"=",
"=",
"null",
"?",
"super",
"get",
"resources",
"(",
"name",
")",
":",
"new",
"prepending",
"enumeration",
"(",
"url",
",",
"super",
"get",
"resources",
"(",
"name",
")",
")",
";"
]
|
[
"{"
]
| [
"if",
"(",
"element",
"=",
"=",
"null",
")",
"{",
"throw",
"new",
"no",
"such",
"element",
"exception",
"(",
")",
";",
"}",
"else",
"{",
"try",
"{",
"return",
"element",
";",
"}",
"finally",
"{",
"element",
"=",
"null",
";",
"}",
"}"
]
|
[
"returns",
"the",
"nodes",
"name",
"from",
"the",
"settings",
"or",
"the",
"empty",
"string",
"if",
"not",
"set"
]
| [
"return",
"node",
"node",
"name",
"setting",
"get",
"(",
"settings",
")",
";"
]
|
[
"allow",
"to",
"set",
"processors"
]
| [
"this",
"code",
"assist",
"processors",
"=",
"code",
"assist",
"processors",
";"
]
|
[
"returns",
"the",
"injected",
"processors"
]
| [
"return",
"this",
"code",
"assist",
"processors",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"delivery",
"stream",
"whose",
"tags",
"you",
"want",
"to",
"list",
"<",
"/",
"p",
">"
]
| [
"set",
"delivery",
"stream",
"name",
"(",
"delivery",
"stream",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"key",
"to",
"use",
"as",
"the",
"starting",
"point",
"for",
"the",
"list",
"of",
"tags",
"if",
"this",
"parameter",
"is",
"set",
"<",
"code",
">",
"list",
"tags",
"for",
"stream",
"<",
"/",
"code",
">",
"gets",
"all",
"tags",
"that",
"occur",
"after",
"<",
"code",
">",
"exclusive",
"start",
"tag",
"key",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"this",
"exclusive",
"start",
"tag",
"key",
"=",
"exclusive",
"start",
"tag",
"key",
";"
]
|
[
"<",
"p",
">",
"the",
"key",
"to",
"use",
"as",
"the",
"starting",
"point",
"for",
"the",
"list",
"of",
"tags",
"if",
"this",
"parameter",
"is",
"set",
"<",
"code",
">",
"list",
"tags",
"for",
"stream",
"<",
"/",
"code",
">",
"gets",
"all",
"tags",
"that",
"occur",
"after",
"<",
"code",
">",
"exclusive",
"start",
"tag",
"key",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"return",
"this",
"exclusive",
"start",
"tag",
"key",
";"
]
|
[
"<",
"p",
">",
"the",
"key",
"to",
"use",
"as",
"the",
"starting",
"point",
"for",
"the",
"list",
"of",
"tags",
"if",
"you",
"set",
"this",
"parameter",
"<",
"code",
">",
"list",
"tags",
"for",
"delivery",
"stream",
"<",
"/",
"code",
">",
"gets",
"all",
"tags",
"that",
"occur",
"after",
"<",
"code",
">",
"exclusive",
"start",
"tag",
"key",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"exclusive",
"start",
"tag",
"key",
"(",
"exclusive",
"start",
"tag",
"key",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"number",
"of",
"tags",
"to",
"return",
"if",
"this",
"number",
"is",
"less",
"than",
"the",
"total",
"number",
"of",
"tags",
"associated",
"with",
"the",
"delivery",
"stream",
"<",
"code",
">",
"has",
"more",
"tags",
"<",
"/",
"code",
">",
"is",
"set",
"to",
"<",
"code",
">",
"true",
"<",
"/",
"code",
">",
"in",
"the",
"response",
"to",
"list",
"additional",
"tags",
"set",
"<",
"code",
">",
"exclusive",
"start",
"tag",
"key",
"<",
"/",
"code",
">",
"to",
"the",
"last",
"key",
"in",
"the",
"response",
"<",
"/",
"p",
">"
]
| [
"set",
"limit",
"(",
"limit",
")",
";",
"return",
"this",
";"
]
|
[
"applies",
"this",
"schema",
"rule",
"to",
"take",
"the",
"required",
"code",
"generation",
"steps",
"<",
"p",
">",
"this",
"rule",
"maps",
"format",
"values",
"to",
"java",
"types",
"by",
"default",
":",
"<",
"ul",
">",
"<",
"li",
">",
"format",
":",
"date",
"-",
"time",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"java",
"util",
"date",
"}",
"or",
"{",
"@",
"link",
"org",
"joda",
"time",
"date",
"time",
"}",
"(",
"if",
"config",
"use",
"joda",
"dates",
"is",
"set",
")",
"<",
"li",
">",
"format",
":",
"date",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"or",
"{",
"@",
"link",
"org",
"joda",
"time",
"local",
"date",
"}",
"(",
"if",
"config",
"use",
"joda",
"local",
"dates",
"is",
"set",
")",
"<",
"li",
">",
"format",
":",
"time",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"or",
"{",
"@",
"link",
"org",
"joda",
"time",
"local",
"time",
"}",
"(",
"if",
"config",
"use",
"joda",
"local",
"times",
"is",
"set",
")",
"<",
"li",
">",
"format",
":",
"utc",
"-",
"millisec",
"=",
"&",
"gt",
";",
"<",
"code",
">",
"long",
"<",
"/",
"code",
">",
"<",
"li",
">",
"format",
":",
"regex",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"java",
"util",
"regex",
"pattern",
"}",
"<",
"li",
">",
"format",
":",
"color",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"<",
"li",
">",
"format",
":",
"style",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"<",
"li",
">",
"format",
":",
"phone",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"<",
"li",
">",
"format",
":",
"uri",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"java",
"net",
"uri",
"}",
"<",
"li",
">",
"format",
":",
"email",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"<",
"li",
">",
"format",
":",
"ip",
"-",
"address",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"<",
"li",
">",
"format",
":",
"ipv",
"6",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"<",
"li",
">",
"format",
":",
"host",
"-",
"name",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"string",
"}",
"<",
"li",
">",
"format",
":",
"uuid",
"=",
"&",
"gt",
";",
"{",
"@",
"link",
"java",
"util",
"uuid",
"}",
"<",
"li",
">",
"other",
"(",
"unrecognised",
"format",
")",
"=",
"&",
"gt",
";",
"base",
"type",
"<",
"/",
"ul",
">"
]
| [
"class",
"<",
"?",
">",
"type",
"=",
"get",
"type",
"(",
"node",
"as",
"text",
"(",
")",
")",
";",
"if",
"(",
"type",
"!",
"=",
"null",
")",
"{",
"j",
"type",
"jtype",
"=",
"base",
"type",
"owner",
"(",
")",
"ref",
"(",
"type",
")",
";",
"if",
"(",
"rule",
"factory",
"get",
"generation",
"config",
"(",
")",
"is",
"use",
"primitives",
"(",
")",
")",
"{",
"jtype",
"=",
"jtype",
"unboxify",
"(",
")",
";",
"}",
"return",
"jtype",
";",
"}",
"else",
"{",
"return",
"base",
"type",
";",
"}"
]
|
[
"generates",
"unique",
"id",
"for",
"request",
"future"
]
| [
"return",
"string",
"value",
"of",
"(",
"m",
"id",
"counter",
"get",
"and",
"increment",
"(",
")",
")",
";"
]
|
[
"submits",
"a",
"request",
"for",
"bitmap",
"cache",
"lookup"
]
| [
"return",
"fetch",
"decoded",
"image",
"(",
"image",
"request",
",",
"caller",
"context",
",",
"image",
"request",
"request",
"level",
"bitmap",
"memory",
"cache",
")",
";"
]
|
[
"submits",
"a",
"request",
"for",
"execution",
"and",
"returns",
"a",
"data",
"source",
"representing",
"the",
"pending",
"decoded",
"image",
"(",
"s",
")",
"<",
"p",
">",
"the",
"returned",
"data",
"source",
"must",
"be",
"closed",
"once",
"the",
"client",
"has",
"finished",
"with",
"it"
]
| [
"return",
"fetch",
"decoded",
"image",
"(",
"image",
"request",
",",
"caller",
"context",
",",
"image",
"request",
"request",
"level",
"full",
"fetch",
")",
";"
]
|
[
"submits",
"a",
"request",
"for",
"execution",
"and",
"returns",
"a",
"data",
"source",
"representing",
"the",
"pending",
"decoded",
"image",
"(",
"s",
")"
]
| [
"return",
"fetch",
"decoded",
"image",
"(",
"image",
"request",
",",
"caller",
"context",
",",
"image",
"request",
"request",
"level",
"full",
"fetch",
",",
"request",
"listener",
")",
";"
]
|
[
"submits",
"a",
"request",
"for",
"execution",
"and",
"returns",
"a",
"data",
"source",
"representing",
"the",
"pending",
"decoded",
"image",
"(",
"s",
")",
"<",
"p",
">",
"the",
"returned",
"data",
"source",
"must",
"be",
"closed",
"once",
"the",
"client",
"has",
"finished",
"with",
"it"
]
| [
"return",
"fetch",
"decoded",
"image",
"(",
"image",
"request",
",",
"caller",
"context",
",",
"lowest",
"permitted",
"request",
"level",
"on",
"submit",
",",
"null",
")",
";"
]
|
[
"submits",
"a",
"request",
"for",
"execution",
"and",
"returns",
"a",
"data",
"source",
"representing",
"the",
"pending",
"decoded",
"image",
"(",
"s",
")"
]
| [
"try",
"{",
"producer",
"<",
"closeable",
"reference",
"<",
"closeable",
"image",
">",
">",
"producer",
"sequence",
"=",
"m",
"producer",
"sequence",
"factory",
"get",
"decoded",
"image",
"producer",
"sequence",
"(",
"image",
"request",
")",
";",
"return",
"submit",
"fetch",
"request",
"(",
"producer",
"sequence",
",",
"image",
"request",
",",
"lowest",
"permitted",
"request",
"level",
"on",
"submit",
",",
"caller",
"context",
",",
"request",
"listener",
")",
";",
"}",
"catch",
"(",
"exception",
"exception",
")",
"{",
"return",
"data",
"sources",
"immediate",
"failed",
"data",
"source",
"(",
"exception",
")",
";",
"}"
]
|
[
"submits",
"a",
"request",
"for",
"execution",
"and",
"returns",
"a",
"data",
"source",
"representing",
"the",
"pending",
"encoded",
"image",
"(",
"s",
")"
]
| [
"return",
"fetch",
"encoded",
"image",
"(",
"image",
"request",
",",
"caller",
"context",
",",
"null",
")",
";"
]
|
[
"submits",
"a",
"request",
"for",
"prefetching",
"to",
"the",
"bitmap",
"cache"
]
| [
"if",
"(",
"!",
"m",
"is",
"prefetch",
"enabled",
"supplier",
"get",
"(",
")",
")",
"{",
"return",
"data",
"sources",
"immediate",
"failed",
"data",
"source",
"(",
"prefetch",
"exception",
")",
";",
"}",
"try",
"{",
"producer",
"<",
"void",
">",
"producer",
"sequence",
"=",
"m",
"suppress",
"bitmap",
"prefetching",
"supplier",
"get",
"(",
")",
"?",
"m",
"producer",
"sequence",
"factory",
"get",
"encoded",
"image",
"prefetch",
"producer",
"sequence",
"(",
"image",
"request",
")",
":",
"m",
"producer",
"sequence",
"factory",
"get",
"decoded",
"image",
"prefetch",
"producer",
"sequence",
"(",
"image",
"request",
")",
";",
"return",
"submit",
"prefetch",
"request",
"(",
"producer",
"sequence",
",",
"image",
"request",
",",
"image",
"request",
"request",
"level",
"full",
"fetch",
",",
"caller",
"context",
",",
"priority",
"medium",
")",
";",
"}",
"catch",
"(",
"exception",
"exception",
")",
"{",
"return",
"data",
"sources",
"immediate",
"failed",
"data",
"source",
"(",
"exception",
")",
";",
"}"
]
|
[
"submits",
"a",
"request",
"for",
"prefetching",
"to",
"the",
"disk",
"cache",
"with",
"a",
"default",
"priority"
]
| [
"return",
"prefetch",
"to",
"disk",
"cache",
"(",
"image",
"request",
",",
"caller",
"context",
",",
"priority",
"medium",
")",
";"
]
|
[
"submits",
"a",
"request",
"for",
"prefetching",
"to",
"the",
"disk",
"cache"
]
| [
"if",
"(",
"!",
"m",
"is",
"prefetch",
"enabled",
"supplier",
"get",
"(",
")",
")",
"{",
"return",
"data",
"sources",
"immediate",
"failed",
"data",
"source",
"(",
"prefetch",
"exception",
")",
";",
"}",
"try",
"{",
"producer",
"<",
"void",
">",
"producer",
"sequence",
"=",
"m",
"producer",
"sequence",
"factory",
"get",
"encoded",
"image",
"prefetch",
"producer",
"sequence",
"(",
"image",
"request",
")",
";",
"return",
"submit",
"prefetch",
"request",
"(",
"producer",
"sequence",
",",
"image",
"request",
",",
"image",
"request",
"request",
"level",
"full",
"fetch",
",",
"caller",
"context",
",",
"priority",
")",
";",
"}",
"catch",
"(",
"exception",
"exception",
")",
"{",
"return",
"data",
"sources",
"immediate",
"failed",
"data",
"source",
"(",
"exception",
")",
";",
"}"
]
|
[
"removes",
"all",
"images",
"with",
"the",
"specified",
"{",
"@",
"link",
"uri",
"}",
"from",
"memory",
"cache"
]
| [
"predicate",
"<",
"cache",
"key",
">",
"predicate",
"=",
"predicate",
"for",
"uri",
"(",
"uri",
")",
";",
"m",
"bitmap",
"memory",
"cache",
"remove",
"all",
"(",
"predicate",
")",
";",
"m",
"encoded",
"memory",
"cache",
"remove",
"all",
"(",
"predicate",
")",
";"
]
|
[
"<",
"p",
">",
"if",
"you",
"have",
"supplied",
"your",
"own",
"cache",
"key",
"factory",
"when",
"configuring",
"the",
"pipeline",
"this",
"method",
"may",
"not",
"work",
"correctly",
"it",
"will",
"only",
"work",
"if",
"the",
"custom",
"factory",
"builds",
"the",
"cache",
"key",
"entirely",
"from",
"the",
"uri",
"if",
"that",
"is",
"not",
"the",
"case",
"use",
"{",
"@",
"link",
"#",
"evict",
"from",
"disk",
"cache",
"(",
"image",
"request",
")",
"}"
]
| [
"evict",
"from",
"disk",
"cache",
"(",
"image",
"request",
"from",
"uri",
"(",
"uri",
")",
")",
";"
]
|
[
"removes",
"all",
"images",
"with",
"the",
"specified",
"{",
"@",
"link",
"uri",
"}",
"from",
"disk",
"cache"
]
| [
"cache",
"key",
"cache",
"key",
"=",
"m",
"cache",
"key",
"factory",
"get",
"encoded",
"cache",
"key",
"(",
"image",
"request",
",",
"null",
")",
";",
"m",
"main",
"buffered",
"disk",
"cache",
"remove",
"(",
"cache",
"key",
")",
";",
"m",
"small",
"image",
"buffered",
"disk",
"cache",
"remove",
"(",
"cache",
"key",
")",
";"
]
|
[
"<",
"p",
">",
"if",
"you",
"have",
"supplied",
"your",
"own",
"cache",
"key",
"factory",
"when",
"configuring",
"the",
"pipeline",
"this",
"method",
"may",
"not",
"work",
"correctly",
"it",
"will",
"only",
"work",
"if",
"the",
"custom",
"factory",
"builds",
"the",
"cache",
"key",
"entirely",
"from",
"the",
"uri",
"if",
"that",
"is",
"not",
"the",
"case",
"use",
"{",
"@",
"link",
"#",
"evict",
"from",
"memory",
"cache",
"(",
"uri",
")",
"}",
"and",
"{",
"@",
"link",
"#",
"evict",
"from",
"disk",
"cache",
"(",
"image",
"request",
")",
"}",
"separately"
]
| [
"evict",
"from",
"memory",
"cache",
"(",
"uri",
")",
";",
"evict",
"from",
"disk",
"cache",
"(",
"uri",
")",
";"
]
|
[
"clear",
"the",
"memory",
"caches"
]
| [
"predicate",
"<",
"cache",
"key",
">",
"all",
"predicate",
"=",
"new",
"predicate",
"<",
"cache",
"key",
">",
"(",
")",
"{",
"@",
"override",
"public",
"boolean",
"apply",
"(",
"cache",
"key",
"key",
")",
"{",
"return",
"true",
";",
"}",
"}",
";",
"m",
"bitmap",
"memory",
"cache",
"remove",
"all",
"(",
"all",
"predicate",
")",
";",
"m",
"encoded",
"memory",
"cache",
"remove",
"all",
"(",
"all",
"predicate",
")",
";"
]
|
[
"clear",
"disk",
"caches"
]
| [
"m",
"main",
"buffered",
"disk",
"cache",
"clear",
"all",
"(",
")",
";",
"m",
"small",
"image",
"buffered",
"disk",
"cache",
"clear",
"all",
"(",
")",
";"
]
|
[
"clear",
"all",
"the",
"caches",
"(",
"memory",
"and",
"disk",
")"
]
| [
"clear",
"memory",
"caches",
"(",
")",
";",
"clear",
"disk",
"caches",
"(",
")",
";"
]
|
[
"returns",
"whether",
"the",
"image",
"is",
"stored",
"in",
"the",
"bitmap",
"memory",
"cache"
]
| [
"if",
"(",
"uri",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"predicate",
"<",
"cache",
"key",
">",
"bitmap",
"cache",
"predicate",
"=",
"predicate",
"for",
"uri",
"(",
"uri",
")",
";",
"return",
"m",
"bitmap",
"memory",
"cache",
"contains",
"(",
"bitmap",
"cache",
"predicate",
")",
";"
]
|
[
"returns",
"whether",
"the",
"image",
"is",
"stored",
"in",
"the",
"bitmap",
"memory",
"cache"
]
| [
"if",
"(",
"image",
"request",
"=",
"=",
"null",
")",
"{",
"return",
"false",
";",
"}",
"final",
"cache",
"key",
"cache",
"key",
"=",
"m",
"cache",
"key",
"factory",
"get",
"bitmap",
"cache",
"key",
"(",
"image",
"request",
",",
"null",
")",
";",
"closeable",
"reference",
"<",
"closeable",
"image",
">",
"ref",
"=",
"m",
"bitmap",
"memory",
"cache",
"get",
"(",
"cache",
"key",
")",
";",
"try",
"{",
"return",
"closeable",
"reference",
"is",
"valid",
"(",
"ref",
")",
";",
"}",
"finally",
"{",
"closeable",
"reference",
"close",
"safely",
"(",
"ref",
")",
";",
"}"
]
|
[
"returns",
"whether",
"the",
"image",
"is",
"stored",
"in",
"the",
"disk",
"cache",
"performs",
"disk",
"cache",
"check",
"synchronously",
"it",
"is",
"not",
"recommended",
"to",
"use",
"this",
"unless",
"you",
"know",
"what",
"exactly",
"you",
"are",
"doing",
"disk",
"cache",
"check",
"is",
"a",
"costly",
"operation",
"the",
"call",
"will",
"block",
"the",
"caller",
"thread",
"until",
"the",
"cache",
"check",
"is",
"completed"
]
| [
"return",
"is",
"in",
"disk",
"cache",
"sync",
"(",
"uri",
",",
"image",
"request",
"cache",
"choice",
"small",
")",
"|",
"|",
"is",
"in",
"disk",
"cache",
"sync",
"(",
"uri",
",",
"image",
"request",
"cache",
"choice",
"default",
")",
";"
]
|
[
"returns",
"whether",
"the",
"image",
"is",
"stored",
"in",
"the",
"disk",
"cache",
"performs",
"disk",
"cache",
"check",
"synchronously",
"it",
"is",
"not",
"recommended",
"to",
"use",
"this",
"unless",
"you",
"know",
"what",
"exactly",
"you",
"are",
"doing",
"disk",
"cache",
"check",
"is",
"a",
"costly",
"operation",
"the",
"call",
"will",
"block",
"the",
"caller",
"thread",
"until",
"the",
"cache",
"check",
"is",
"completed"
]
| [
"image",
"request",
"image",
"request",
"=",
"image",
"request",
"builder",
"new",
"builder",
"with",
"source",
"(",
"uri",
")",
"set",
"cache",
"choice",
"(",
"cache",
"choice",
")",
"build",
"(",
")",
";",
"return",
"is",
"in",
"disk",
"cache",
"sync",
"(",
"image",
"request",
")",
";"
]
|
[
"performs",
"disk",
"cache",
"check",
"synchronously",
"it",
"is",
"not",
"recommended",
"to",
"use",
"this",
"unless",
"you",
"know",
"what",
"exactly",
"you",
"are",
"doing",
"disk",
"cache",
"check",
"is",
"a",
"costly",
"operation",
"the",
"call",
"will",
"block",
"the",
"caller",
"thread",
"until",
"the",
"cache",
"check",
"is",
"completed"
]
| [
"final",
"cache",
"key",
"cache",
"key",
"=",
"m",
"cache",
"key",
"factory",
"get",
"encoded",
"cache",
"key",
"(",
"image",
"request",
",",
"null",
")",
";",
"final",
"image",
"request",
"cache",
"choice",
"cache",
"choice",
"=",
"image",
"request",
"get",
"cache",
"choice",
"(",
")",
";",
"switch",
"(",
"cache",
"choice",
")",
"{",
"case",
"default",
":",
"return",
"m",
"main",
"buffered",
"disk",
"cache",
"disk",
"check",
"sync",
"(",
"cache",
"key",
")",
";",
"case",
"small",
":",
"return",
"m",
"small",
"image",
"buffered",
"disk",
"cache",
"disk",
"check",
"sync",
"(",
"cache",
"key",
")",
";",
"default",
":",
"return",
"false",
";",
"}"
]
|
[
"returns",
"whether",
"the",
"image",
"is",
"stored",
"in",
"the",
"disk",
"cache"
]
| [
"return",
"is",
"in",
"disk",
"cache",
"(",
"image",
"request",
"from",
"uri",
"(",
"uri",
")",
")",
";"
]
|
[
"returns",
"whether",
"the",
"image",
"is",
"stored",
"in",
"the",
"disk",
"cache"
]
| [
"final",
"cache",
"key",
"cache",
"key",
"=",
"m",
"cache",
"key",
"factory",
"get",
"encoded",
"cache",
"key",
"(",
"image",
"request",
",",
"null",
")",
";",
"final",
"simple",
"data",
"source",
"<",
"boolean",
">",
"data",
"source",
"=",
"simple",
"data",
"source",
"create",
"(",
")",
";",
"m",
"main",
"buffered",
"disk",
"cache",
"contains",
"(",
"cache",
"key",
")",
"continue",
"with",
"task",
"(",
"new",
"continuation",
"<",
"boolean",
",",
"task",
"<",
"boolean",
">",
">",
"(",
")",
"{",
"@",
"override",
"public",
"task",
"<",
"boolean",
">",
"then",
"(",
"task",
"<",
"boolean",
">",
"task",
")",
"throws",
"exception",
"{",
"if",
"(",
"!",
"task",
"is",
"cancelled",
"(",
")",
"&",
"&",
"!",
"task",
"is",
"faulted",
"(",
")",
"&",
"&",
"task",
"get",
"result",
"(",
")",
")",
"{",
"return",
"task",
"for",
"result",
"(",
"true",
")",
";",
"}",
"return",
"m",
"small",
"image",
"buffered",
"disk",
"cache",
"contains",
"(",
"cache",
"key",
")",
";",
"}",
"}",
")",
"continue",
"with",
"(",
"new",
"continuation",
"<",
"boolean",
",",
"void",
">",
"(",
")",
"{",
"@",
"override",
"public",
"void",
"then",
"(",
"task",
"<",
"boolean",
">",
"task",
")",
"throws",
"exception",
"{",
"data",
"source",
"set",
"result",
"(",
"!",
"task",
"is",
"cancelled",
"(",
")",
"&",
"&",
"!",
"task",
"is",
"faulted",
"(",
")",
"&",
"&",
"task",
"get",
"result",
"(",
")",
")",
";",
"return",
"null",
";",
"}",
"}",
")",
";",
"return",
"data",
"source",
";"
]
|
[
"returns",
"a",
"reference",
"to",
"the",
"cached",
"image"
]
| [
"memory",
"cache",
"<",
"cache",
"key",
",",
"closeable",
"image",
">",
"memory",
"cache",
"=",
"m",
"bitmap",
"memory",
"cache",
";",
"if",
"(",
"memory",
"cache",
"=",
"=",
"null",
"|",
"|",
"cache",
"key",
"=",
"=",
"null",
")",
"{",
"return",
"null",
";",
"}",
"closeable",
"reference",
"<",
"closeable",
"image",
">",
"closeable",
"image",
"=",
"memory",
"cache",
"get",
"(",
"cache",
"key",
")",
";",
"if",
"(",
"closeable",
"image",
"!",
"=",
"null",
"&",
"&",
"!",
"closeable",
"image",
"get",
"(",
")",
"get",
"quality",
"info",
"(",
")",
"is",
"of",
"full",
"quality",
"(",
")",
")",
"{",
"closeable",
"image",
"close",
"(",
")",
";",
"return",
"null",
";",
"}",
"return",
"closeable",
"image",
";"
]
|
[
"values",
"in",
"the",
"repeated",
"type",
"need",
"redacting"
]
| [
"internal",
"check",
"elements",
"not",
"null",
"(",
"b",
")",
";",
"this",
"b",
"=",
"b",
";",
"return",
"this",
";"
]
|
[
"gets",
"the",
"{",
"@",
"link",
"date",
"picker",
"}",
"contained",
"in",
"this",
"dialog"
]
| [
"return",
"m",
"date",
"picker",
";"
]
|
[
"gets",
"the",
"{",
"@",
"link",
"time",
"picker",
"}",
"contained",
"in",
"this",
"dialog"
]
| [
"return",
"m",
"time",
"picker",
";"
]
|
[
"sets",
"the",
"current",
"date"
]
| [
"m",
"date",
"picker",
"update",
"date",
"(",
"year",
",",
"month",
"of",
"year",
",",
"day",
"of",
"month",
")",
";",
"m",
"time",
"picker",
"set",
"current",
"hour",
"(",
"hour",
"of",
"day",
")",
";",
"m",
"time",
"picker",
"set",
"current",
"minute",
"(",
"minut",
"of",
"hour",
")",
";"
]
|
[
"this",
"only",
"exists",
"as",
"a",
"temprorary",
"workaround"
]
| [
"for",
"(",
"j",
"s",
"module",
"m",
":",
"modules",
")",
"{",
"m",
"reset",
"this",
"module",
"so",
"it",
"can",
"be",
"reused",
"(",
")",
";",
"}"
]
|
[
"gets",
"an",
"iterable",
"over",
"all",
"input",
"source",
"files",
"in",
"dependency",
"order"
]
| [
"return",
"iterables",
"concat",
"(",
"iterables",
"transform",
"(",
"arrays",
"as",
"list",
"(",
"modules",
")",
",",
"j",
"s",
"module",
":",
":",
"get",
"inputs",
")",
")",
";"
]
|
[
"gets",
"the",
"total",
"number",
"of",
"input",
"source",
"files"
]
| [
"int",
"count",
"=",
"0",
";",
"for",
"(",
"j",
"s",
"module",
"module",
":",
"modules",
")",
"{",
"count",
"+",
"=",
"module",
"get",
"input",
"count",
"(",
")",
";",
"}",
"return",
"count",
";"
]
|
[
"gets",
"an",
"iterable",
"over",
"all",
"modules",
"in",
"dependency",
"order"
]
| [
"return",
"arrays",
"as",
"list",
"(",
"modules",
")",
";"
]
|
[
"gets",
"a",
"single",
"module",
"by",
"name"
]
| [
"for",
"(",
"j",
"s",
"module",
"m",
":",
"modules",
")",
"{",
"if",
"(",
"m",
"get",
"name",
"(",
")",
"equals",
"(",
"name",
")",
")",
"{",
"return",
"m",
";",
"}",
"}",
"return",
"null",
";"
]
|
[
"gets",
"all",
"modules",
"indexed",
"by",
"name"
]
| [
"map",
"<",
"string",
",",
"j",
"s",
"module",
">",
"result",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"for",
"(",
"j",
"s",
"module",
"m",
":",
"modules",
")",
"{",
"result",
"put",
"(",
"m",
"get",
"name",
"(",
")",
",",
"m",
")",
";",
"}",
"return",
"result",
";"
]
|
[
"gets",
"the",
"total",
"number",
"of",
"modules"
]
| [
"return",
"modules",
"length",
";"
]
|
[
"gets",
"the",
"root",
"module"
]
| [
"return",
"iterables",
"get",
"only",
"element",
"(",
"modules",
"by",
"depth",
"get",
"(",
"0",
")",
")",
";"
]
|
[
"determines",
"whether",
"this",
"module",
"depends",
"on",
"a",
"given",
"module",
"note",
"that",
"a",
"module",
"never",
"depends",
"on",
"itself",
"as",
"that",
"dependency",
"would",
"be",
"cyclic"
]
| [
"return",
"src",
"!",
"=",
"m",
"&",
"&",
"self",
"plus",
"transitive",
"deps",
"[",
"src",
"get",
"index",
"(",
")",
"]",
"get",
"(",
"m",
"get",
"index",
"(",
")",
")",
";"
]
|
[
"finds",
"the",
"deepest",
"common",
"dependency",
"of",
"two",
"modules",
"including",
"the",
"modules",
"themselves"
]
| [
"if",
"(",
"m",
"2",
"=",
"=",
"m",
"1",
"|",
"|",
"depends",
"on",
"(",
"m",
"2",
",",
"m",
"1",
")",
")",
"{",
"return",
"m",
"1",
";",
"}",
"else",
"if",
"(",
"depends",
"on",
"(",
"m",
"1",
",",
"m",
"2",
")",
")",
"{",
"return",
"m",
"2",
";",
"}",
"return",
"get",
"deepest",
"common",
"dependency",
"(",
"m",
"1",
",",
"m",
"2",
")",
";"
]
|
[
"returns",
"the",
"deepest",
"common",
"dependency",
"of",
"the",
"given",
"modules"
]
| [
"iterator",
"<",
"j",
"s",
"module",
">",
"iter",
"=",
"modules",
"iterator",
"(",
")",
";",
"j",
"s",
"module",
"dep",
"=",
"iter",
"next",
"(",
")",
";",
"while",
"(",
"iter",
"has",
"next",
"(",
")",
")",
"{",
"dep",
"=",
"get",
"deepest",
"common",
"dependency",
"inclusive",
"(",
"dep",
",",
"iter",
"next",
"(",
")",
")",
";",
"}",
"return",
"dep",
";"
]
|
[
"creates",
"an",
"iterable",
"over",
"the",
"transitive",
"dependencies",
"of",
"module",
"{",
"@",
"code",
"m",
"}",
"in",
"a",
"non",
"-",
"increasing",
"depth",
"ordering",
"the",
"result",
"does",
"not",
"include",
"the",
"module",
"{",
"@",
"code",
"m",
"}"
]
| [
"return",
"inverse",
"depth",
"comparator",
"instance",
"sorted",
"copy",
"(",
"get",
"transitive",
"deps",
"(",
"m",
")",
")",
";"
]
|
[
"returns",
"the",
"transitive",
"dependencies",
"of",
"the",
"module"
]
| [
"set",
"<",
"j",
"s",
"module",
">",
"deps",
"=",
"dependency",
"map",
"compute",
"if",
"absent",
"(",
"m",
",",
"j",
"s",
"module",
":",
":",
"get",
"all",
"dependencies",
")",
";",
"return",
"deps",
";"
]
|
[
"given",
"an",
"input",
"and",
"set",
"of",
"unprocessed",
"inputs",
"return",
"the",
"input",
"and",
"it",
"s",
"dependencies",
"by",
"performing",
"a",
"recursive",
"depth",
"-",
"first",
"traversal"
]
| [
"list",
"<",
"compiler",
"input",
">",
"ordered",
"inputs",
"=",
"new",
"array",
"list",
"<",
">",
"(",
")",
";",
"if",
"(",
"!",
"unreached",
"inputs",
"remove",
"(",
"root",
"input",
")",
")",
"{",
"return",
"ordered",
"inputs",
";",
"}",
"for",
"(",
"string",
"imported",
"namespace",
":",
"root",
"input",
"get",
"required",
"symbols",
"(",
")",
")",
"{",
"compiler",
"input",
"dependency",
"=",
"null",
";",
"if",
"(",
"inputs",
"by",
"provide",
"contains",
"key",
"(",
"imported",
"namespace",
")",
"&",
"&",
"unreached",
"inputs",
"contains",
"(",
"inputs",
"by",
"provide",
"get",
"(",
"imported",
"namespace",
")",
")",
")",
"{",
"dependency",
"=",
"inputs",
"by",
"provide",
"get",
"(",
"imported",
"namespace",
")",
";",
"}",
"if",
"(",
"dependency",
"!",
"=",
"null",
")",
"{",
"ordered",
"inputs",
"add",
"all",
"(",
"get",
"depth",
"first",
"dependencies",
"of",
"(",
"dependency",
",",
"unreached",
"inputs",
",",
"inputs",
"by",
"provide",
")",
")",
";",
"}",
"}",
"ordered",
"inputs",
"add",
"(",
"root",
"input",
")",
";",
"return",
"ordered",
"inputs",
";"
]
|
[
"returns",
"a",
"entity",
"load",
"query",
"details",
"object",
"based",
"on",
"an",
"existing",
"one",
"and",
"additional",
"elements",
"specific",
"to",
"this",
"one"
]
| [
"return",
"new",
"entity",
"load",
"query",
"details",
"(",
"entity",
"load",
"query",
"details",
"template",
",",
"building",
"parameters",
")",
";"
]
|
[
"constructs",
"a",
"basic",
"collection",
"load",
"query",
"details",
"object",
"from",
"the",
"given",
"inputs"
]
| [
"final",
"collection",
"return",
"root",
"return",
"=",
"root",
"helper",
"instance",
"extract",
"root",
"return",
"(",
"load",
"plan",
",",
"collection",
"return",
"class",
")",
";",
"final",
"alias",
"resolution",
"context",
"impl",
"alias",
"resolution",
"context",
"=",
"new",
"alias",
"resolution",
"context",
"impl",
"(",
"collection",
"persister",
"get",
"factory",
"(",
")",
")",
";",
"return",
"collection",
"persister",
"is",
"one",
"to",
"many",
"(",
")",
"?",
"new",
"one",
"to",
"many",
"load",
"query",
"details",
"(",
"load",
"plan",
",",
"alias",
"resolution",
"context",
",",
"root",
"return",
",",
"building",
"parameters",
",",
"collection",
"persister",
"get",
"factory",
"(",
")",
")",
":",
"new",
"basic",
"collection",
"load",
"query",
"details",
"(",
"load",
"plan",
",",
"alias",
"resolution",
"context",
",",
"root",
"return",
",",
"building",
"parameters",
",",
"collection",
"persister",
"get",
"factory",
"(",
")",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"table",
"containing",
"the",
"requested",
"items",
";",
"or",
"if",
"you",
"provide",
"<",
"code",
">",
"index",
"name",
"<",
"/",
"code",
">",
"the",
"name",
"of",
"the",
"table",
"to",
"which",
"that",
"index",
"belongs",
"<",
"/",
"p",
">"
]
| [
"set",
"table",
"name",
"(",
"table",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"name",
"of",
"a",
"secondary",
"index",
"to",
"scan",
"this",
"index",
"can",
"be",
"any",
"local",
"secondary",
"index",
"or",
"global",
"secondary",
"index",
"note",
"that",
"if",
"you",
"use",
"the",
"<",
"code",
">",
"index",
"name",
"<",
"/",
"code",
">",
"parameter",
"you",
"must",
"also",
"provide",
"<",
"code",
">",
"table",
"name",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"index",
"name",
"(",
"index",
"name",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"this",
"is",
"a",
"legacy",
"parameter",
"use",
"<",
"code",
">",
"projection",
"expression",
"<",
"/",
"code",
">",
"instead",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazondynamodb",
"/",
"latest",
"/",
"developerguide",
"/",
"legacy",
"conditional",
"parameters",
"attributes",
"to",
"get",
"html",
">",
"attributes",
"to",
"get",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"dynamo",
"d",
"b",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note",
":",
"<",
"/",
"b",
">",
"this",
"method",
"appends",
"the",
"values",
"to",
"the",
"existing",
"list",
"(",
"if",
"any",
")",
"use",
"{",
"@",
"link",
"#",
"set",
"attributes",
"to",
"get",
"(",
"java",
"util",
"collection",
")",
"}",
"or",
"{",
"@",
"link",
"#",
"with",
"attributes",
"to",
"get",
"(",
"java",
"util",
"collection",
")",
"}",
"if",
"you",
"want",
"to",
"override",
"the",
"existing",
"values",
"<",
"/",
"p",
">"
]
| [
"if",
"(",
"this",
"attributes",
"to",
"get",
"=",
"=",
"null",
")",
"{",
"set",
"attributes",
"to",
"get",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"string",
">",
"(",
"attributes",
"to",
"get",
"length",
")",
")",
";",
"}",
"for",
"(",
"string",
"ele",
":",
"attributes",
"to",
"get",
")",
"{",
"this",
"attributes",
"to",
"get",
"add",
"(",
"ele",
")",
";",
"}",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"this",
"is",
"a",
"legacy",
"parameter",
"use",
"<",
"code",
">",
"projection",
"expression",
"<",
"/",
"code",
">",
"instead",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazondynamodb",
"/",
"latest",
"/",
"developerguide",
"/",
"legacy",
"conditional",
"parameters",
"attributes",
"to",
"get",
"html",
">",
"attributes",
"to",
"get",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"dynamo",
"d",
"b",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"attributes",
"to",
"get",
"(",
"attributes",
"to",
"get",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"maximum",
"number",
"of",
"items",
"to",
"evaluate",
"(",
"not",
"necessarily",
"the",
"number",
"of",
"matching",
"items",
")",
"if",
"dynamo",
"d",
"b",
"processes",
"the",
"number",
"of",
"items",
"up",
"to",
"the",
"limit",
"while",
"processing",
"the",
"results",
"it",
"stops",
"the",
"operation",
"and",
"returns",
"the",
"matching",
"values",
"up",
"to",
"that",
"point",
"and",
"a",
"key",
"in",
"<",
"code",
">",
"last",
"evaluated",
"key",
"<",
"/",
"code",
">",
"to",
"apply",
"in",
"a",
"subsequent",
"operation",
"so",
"that",
"you",
"can",
"pick",
"up",
"where",
"you",
"left",
"off",
"also",
"if",
"the",
"processed",
"data",
"set",
"size",
"exceeds",
"1",
"mb",
"before",
"dynamo",
"d",
"b",
"reaches",
"this",
"limit",
"it",
"stops",
"the",
"operation",
"and",
"returns",
"the",
"matching",
"values",
"up",
"to",
"the",
"limit",
"and",
"a",
"key",
"in",
"<",
"code",
">",
"last",
"evaluated",
"key",
"<",
"/",
"code",
">",
"to",
"apply",
"in",
"a",
"subsequent",
"operation",
"to",
"continue",
"the",
"operation",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazondynamodb",
"/",
"latest",
"/",
"developerguide",
"/",
"query",
"and",
"scan",
"html",
">",
"query",
"and",
"scan",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"dynamo",
"d",
"b",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"limit",
"(",
"limit",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"attributes",
"to",
"be",
"returned",
"in",
"the",
"result",
"you",
"can",
"retrieve",
"all",
"item",
"attributes",
"specific",
"item",
"attributes",
"the",
"count",
"of",
"matching",
"items",
"or",
"in",
"the",
"case",
"of",
"an",
"index",
"some",
"or",
"all",
"of",
"the",
"attributes",
"projected",
"into",
"the",
"index",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"-",
"returns",
"all",
"of",
"the",
"item",
"attributes",
"from",
"the",
"specified",
"table",
"or",
"index",
"if",
"you",
"query",
"a",
"local",
"secondary",
"index",
"then",
"for",
"each",
"matching",
"item",
"in",
"the",
"index",
"dynamo",
"d",
"b",
"will",
"fetch",
"the",
"entire",
"item",
"from",
"the",
"parent",
"table",
"if",
"the",
"index",
"is",
"configured",
"to",
"project",
"all",
"item",
"attributes",
"then",
"all",
"of",
"the",
"data",
"can",
"be",
"obtained",
"from",
"the",
"local",
"secondary",
"index",
"and",
"no",
"fetching",
"is",
"required",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all",
"projected",
"attributes",
"<",
"/",
"code",
">",
"-",
"allowed",
"only",
"when",
"querying",
"an",
"index",
"retrieves",
"all",
"attributes",
"that",
"have",
"been",
"projected",
"into",
"the",
"index",
"if",
"the",
"index",
"is",
"configured",
"to",
"project",
"all",
"attributes",
"this",
"return",
"value",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"count",
"<",
"/",
"code",
">",
"-",
"returns",
"the",
"number",
"of",
"matching",
"items",
"rather",
"than",
"the",
"matching",
"items",
"themselves",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"-",
"returns",
"only",
"the",
"attributes",
"listed",
"in",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"this",
"return",
"value",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"without",
"specifying",
"any",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"query",
"or",
"scan",
"a",
"local",
"secondary",
"index",
"and",
"request",
"only",
"attributes",
"that",
"are",
"projected",
"into",
"that",
"index",
"the",
"operation",
"will",
"read",
"only",
"the",
"index",
"and",
"not",
"the",
"table",
"if",
"any",
"of",
"the",
"requested",
"attributes",
"are",
"not",
"projected",
"into",
"the",
"local",
"secondary",
"index",
"dynamo",
"d",
"b",
"will",
"fetch",
"each",
"of",
"these",
"attributes",
"from",
"the",
"parent",
"table",
"this",
"extra",
"fetching",
"incurs",
"additional",
"throughput",
"cost",
"and",
"latency",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"query",
"or",
"scan",
"a",
"global",
"secondary",
"index",
"you",
"can",
"only",
"request",
"attributes",
"that",
"are",
"projected",
"into",
"the",
"index",
"global",
"secondary",
"index",
"queries",
"cannot",
"fetch",
"attributes",
"from",
"the",
"parent",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"if",
"neither",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"nor",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"are",
"specified",
"dynamo",
"d",
"b",
"defaults",
"to",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"when",
"accessing",
"a",
"table",
"and",
"<",
"code",
">",
"all",
"projected",
"attributes",
"<",
"/",
"code",
">",
"when",
"accessing",
"an",
"index",
"you",
"cannot",
"use",
"both",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"together",
"in",
"a",
"single",
"request",
"unless",
"the",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"(",
"this",
"usage",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"without",
"any",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"you",
"use",
"the",
"<",
"code",
">",
"projection",
"expression",
"<",
"/",
"code",
">",
"parameter",
"then",
"the",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"can",
"only",
"be",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"any",
"other",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"will",
"return",
"an",
"error",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
]
| [
"return",
"this",
"select",
";"
]
|
[
"<",
"p",
">",
"the",
"attributes",
"to",
"be",
"returned",
"in",
"the",
"result",
"you",
"can",
"retrieve",
"all",
"item",
"attributes",
"specific",
"item",
"attributes",
"the",
"count",
"of",
"matching",
"items",
"or",
"in",
"the",
"case",
"of",
"an",
"index",
"some",
"or",
"all",
"of",
"the",
"attributes",
"projected",
"into",
"the",
"index",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"-",
"returns",
"all",
"of",
"the",
"item",
"attributes",
"from",
"the",
"specified",
"table",
"or",
"index",
"if",
"you",
"query",
"a",
"local",
"secondary",
"index",
"then",
"for",
"each",
"matching",
"item",
"in",
"the",
"index",
"dynamo",
"d",
"b",
"will",
"fetch",
"the",
"entire",
"item",
"from",
"the",
"parent",
"table",
"if",
"the",
"index",
"is",
"configured",
"to",
"project",
"all",
"item",
"attributes",
"then",
"all",
"of",
"the",
"data",
"can",
"be",
"obtained",
"from",
"the",
"local",
"secondary",
"index",
"and",
"no",
"fetching",
"is",
"required",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all",
"projected",
"attributes",
"<",
"/",
"code",
">",
"-",
"allowed",
"only",
"when",
"querying",
"an",
"index",
"retrieves",
"all",
"attributes",
"that",
"have",
"been",
"projected",
"into",
"the",
"index",
"if",
"the",
"index",
"is",
"configured",
"to",
"project",
"all",
"attributes",
"this",
"return",
"value",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"count",
"<",
"/",
"code",
">",
"-",
"returns",
"the",
"number",
"of",
"matching",
"items",
"rather",
"than",
"the",
"matching",
"items",
"themselves",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"-",
"returns",
"only",
"the",
"attributes",
"listed",
"in",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"this",
"return",
"value",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"without",
"specifying",
"any",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"query",
"or",
"scan",
"a",
"local",
"secondary",
"index",
"and",
"request",
"only",
"attributes",
"that",
"are",
"projected",
"into",
"that",
"index",
"the",
"operation",
"will",
"read",
"only",
"the",
"index",
"and",
"not",
"the",
"table",
"if",
"any",
"of",
"the",
"requested",
"attributes",
"are",
"not",
"projected",
"into",
"the",
"local",
"secondary",
"index",
"dynamo",
"d",
"b",
"will",
"fetch",
"each",
"of",
"these",
"attributes",
"from",
"the",
"parent",
"table",
"this",
"extra",
"fetching",
"incurs",
"additional",
"throughput",
"cost",
"and",
"latency",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"query",
"or",
"scan",
"a",
"global",
"secondary",
"index",
"you",
"can",
"only",
"request",
"attributes",
"that",
"are",
"projected",
"into",
"the",
"index",
"global",
"secondary",
"index",
"queries",
"cannot",
"fetch",
"attributes",
"from",
"the",
"parent",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"if",
"neither",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"nor",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"are",
"specified",
"dynamo",
"d",
"b",
"defaults",
"to",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"when",
"accessing",
"a",
"table",
"and",
"<",
"code",
">",
"all",
"projected",
"attributes",
"<",
"/",
"code",
">",
"when",
"accessing",
"an",
"index",
"you",
"cannot",
"use",
"both",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"together",
"in",
"a",
"single",
"request",
"unless",
"the",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"(",
"this",
"usage",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"without",
"any",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"you",
"use",
"the",
"<",
"code",
">",
"projection",
"expression",
"<",
"/",
"code",
">",
"parameter",
"then",
"the",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"can",
"only",
"be",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"any",
"other",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"will",
"return",
"an",
"error",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
]
| [
"set",
"select",
"(",
"select",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"the",
"attributes",
"to",
"be",
"returned",
"in",
"the",
"result",
"you",
"can",
"retrieve",
"all",
"item",
"attributes",
"specific",
"item",
"attributes",
"the",
"count",
"of",
"matching",
"items",
"or",
"in",
"the",
"case",
"of",
"an",
"index",
"some",
"or",
"all",
"of",
"the",
"attributes",
"projected",
"into",
"the",
"index",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"-",
"returns",
"all",
"of",
"the",
"item",
"attributes",
"from",
"the",
"specified",
"table",
"or",
"index",
"if",
"you",
"query",
"a",
"local",
"secondary",
"index",
"then",
"for",
"each",
"matching",
"item",
"in",
"the",
"index",
"dynamo",
"d",
"b",
"will",
"fetch",
"the",
"entire",
"item",
"from",
"the",
"parent",
"table",
"if",
"the",
"index",
"is",
"configured",
"to",
"project",
"all",
"item",
"attributes",
"then",
"all",
"of",
"the",
"data",
"can",
"be",
"obtained",
"from",
"the",
"local",
"secondary",
"index",
"and",
"no",
"fetching",
"is",
"required",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all",
"projected",
"attributes",
"<",
"/",
"code",
">",
"-",
"allowed",
"only",
"when",
"querying",
"an",
"index",
"retrieves",
"all",
"attributes",
"that",
"have",
"been",
"projected",
"into",
"the",
"index",
"if",
"the",
"index",
"is",
"configured",
"to",
"project",
"all",
"attributes",
"this",
"return",
"value",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"count",
"<",
"/",
"code",
">",
"-",
"returns",
"the",
"number",
"of",
"matching",
"items",
"rather",
"than",
"the",
"matching",
"items",
"themselves",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"-",
"returns",
"only",
"the",
"attributes",
"listed",
"in",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"this",
"return",
"value",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"without",
"specifying",
"any",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"query",
"or",
"scan",
"a",
"local",
"secondary",
"index",
"and",
"request",
"only",
"attributes",
"that",
"are",
"projected",
"into",
"that",
"index",
"the",
"operation",
"will",
"read",
"only",
"the",
"index",
"and",
"not",
"the",
"table",
"if",
"any",
"of",
"the",
"requested",
"attributes",
"are",
"not",
"projected",
"into",
"the",
"local",
"secondary",
"index",
"dynamo",
"d",
"b",
"will",
"fetch",
"each",
"of",
"these",
"attributes",
"from",
"the",
"parent",
"table",
"this",
"extra",
"fetching",
"incurs",
"additional",
"throughput",
"cost",
"and",
"latency",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"query",
"or",
"scan",
"a",
"global",
"secondary",
"index",
"you",
"can",
"only",
"request",
"attributes",
"that",
"are",
"projected",
"into",
"the",
"index",
"global",
"secondary",
"index",
"queries",
"cannot",
"fetch",
"attributes",
"from",
"the",
"parent",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"if",
"neither",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"nor",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"are",
"specified",
"dynamo",
"d",
"b",
"defaults",
"to",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"when",
"accessing",
"a",
"table",
"and",
"<",
"code",
">",
"all",
"projected",
"attributes",
"<",
"/",
"code",
">",
"when",
"accessing",
"an",
"index",
"you",
"cannot",
"use",
"both",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"together",
"in",
"a",
"single",
"request",
"unless",
"the",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"(",
"this",
"usage",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"without",
"any",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"you",
"use",
"the",
"<",
"code",
">",
"projection",
"expression",
"<",
"/",
"code",
">",
"parameter",
"then",
"the",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"can",
"only",
"be",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"any",
"other",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"will",
"return",
"an",
"error",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
]
| [
"with",
"select",
"(",
"select",
")",
";"
]
|
[
"<",
"p",
">",
"the",
"attributes",
"to",
"be",
"returned",
"in",
"the",
"result",
"you",
"can",
"retrieve",
"all",
"item",
"attributes",
"specific",
"item",
"attributes",
"the",
"count",
"of",
"matching",
"items",
"or",
"in",
"the",
"case",
"of",
"an",
"index",
"some",
"or",
"all",
"of",
"the",
"attributes",
"projected",
"into",
"the",
"index",
"<",
"/",
"p",
">",
"<",
"ul",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"-",
"returns",
"all",
"of",
"the",
"item",
"attributes",
"from",
"the",
"specified",
"table",
"or",
"index",
"if",
"you",
"query",
"a",
"local",
"secondary",
"index",
"then",
"for",
"each",
"matching",
"item",
"in",
"the",
"index",
"dynamo",
"d",
"b",
"will",
"fetch",
"the",
"entire",
"item",
"from",
"the",
"parent",
"table",
"if",
"the",
"index",
"is",
"configured",
"to",
"project",
"all",
"item",
"attributes",
"then",
"all",
"of",
"the",
"data",
"can",
"be",
"obtained",
"from",
"the",
"local",
"secondary",
"index",
"and",
"no",
"fetching",
"is",
"required",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"all",
"projected",
"attributes",
"<",
"/",
"code",
">",
"-",
"allowed",
"only",
"when",
"querying",
"an",
"index",
"retrieves",
"all",
"attributes",
"that",
"have",
"been",
"projected",
"into",
"the",
"index",
"if",
"the",
"index",
"is",
"configured",
"to",
"project",
"all",
"attributes",
"this",
"return",
"value",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"count",
"<",
"/",
"code",
">",
"-",
"returns",
"the",
"number",
"of",
"matching",
"items",
"rather",
"than",
"the",
"matching",
"items",
"themselves",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"li",
">",
"<",
"p",
">",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"-",
"returns",
"only",
"the",
"attributes",
"listed",
"in",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"this",
"return",
"value",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"without",
"specifying",
"any",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"query",
"or",
"scan",
"a",
"local",
"secondary",
"index",
"and",
"request",
"only",
"attributes",
"that",
"are",
"projected",
"into",
"that",
"index",
"the",
"operation",
"will",
"read",
"only",
"the",
"index",
"and",
"not",
"the",
"table",
"if",
"any",
"of",
"the",
"requested",
"attributes",
"are",
"not",
"projected",
"into",
"the",
"local",
"secondary",
"index",
"dynamo",
"d",
"b",
"will",
"fetch",
"each",
"of",
"these",
"attributes",
"from",
"the",
"parent",
"table",
"this",
"extra",
"fetching",
"incurs",
"additional",
"throughput",
"cost",
"and",
"latency",
"<",
"/",
"p",
">",
"<",
"p",
">",
"if",
"you",
"query",
"or",
"scan",
"a",
"global",
"secondary",
"index",
"you",
"can",
"only",
"request",
"attributes",
"that",
"are",
"projected",
"into",
"the",
"index",
"global",
"secondary",
"index",
"queries",
"cannot",
"fetch",
"attributes",
"from",
"the",
"parent",
"table",
"<",
"/",
"p",
">",
"<",
"/",
"li",
">",
"<",
"/",
"ul",
">",
"<",
"p",
">",
"if",
"neither",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"nor",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"are",
"specified",
"dynamo",
"d",
"b",
"defaults",
"to",
"<",
"code",
">",
"all",
"attributes",
"<",
"/",
"code",
">",
"when",
"accessing",
"a",
"table",
"and",
"<",
"code",
">",
"all",
"projected",
"attributes",
"<",
"/",
"code",
">",
"when",
"accessing",
"an",
"index",
"you",
"cannot",
"use",
"both",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"and",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"together",
"in",
"a",
"single",
"request",
"unless",
"the",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"(",
"this",
"usage",
"is",
"equivalent",
"to",
"specifying",
"<",
"code",
">",
"attributes",
"to",
"get",
"<",
"/",
"code",
">",
"without",
"any",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
")",
"<",
"/",
"p",
">",
"<",
"note",
">",
"<",
"p",
">",
"if",
"you",
"use",
"the",
"<",
"code",
">",
"projection",
"expression",
"<",
"/",
"code",
">",
"parameter",
"then",
"the",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"can",
"only",
"be",
"<",
"code",
">",
"specific",
"attributes",
"<",
"/",
"code",
">",
"any",
"other",
"value",
"for",
"<",
"code",
">",
"select",
"<",
"/",
"code",
">",
"will",
"return",
"an",
"error",
"<",
"/",
"p",
">",
"<",
"/",
"note",
">"
]
| [
"this",
"select",
"=",
"select",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
]
|
[
"<",
"p",
">",
"this",
"is",
"a",
"legacy",
"parameter",
"use",
"<",
"code",
">",
"filter",
"expression",
"<",
"/",
"code",
">",
"instead",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazondynamodb",
"/",
"latest",
"/",
"developerguide",
"/",
"legacy",
"conditional",
"parameters",
"scan",
"filter",
"html",
">",
"scan",
"filter",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"dynamo",
"d",
"b",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
]
| [
"return",
"scan",
"filter",
";"
]
|
[
"<",
"p",
">",
"this",
"is",
"a",
"legacy",
"parameter",
"use",
"<",
"code",
">",
"filter",
"expression",
"<",
"/",
"code",
">",
"instead",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazondynamodb",
"/",
"latest",
"/",
"developerguide",
"/",
"legacy",
"conditional",
"parameters",
"scan",
"filter",
"html",
">",
"scan",
"filter",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"dynamo",
"d",
"b",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
]
| [
"this",
"scan",
"filter",
"=",
"scan",
"filter",
";"
]
|
[
"<",
"p",
">",
"this",
"is",
"a",
"legacy",
"parameter",
"use",
"<",
"code",
">",
"filter",
"expression",
"<",
"/",
"code",
">",
"instead",
"for",
"more",
"information",
"see",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"/",
"amazondynamodb",
"/",
"latest",
"/",
"developerguide",
"/",
"legacy",
"conditional",
"parameters",
"scan",
"filter",
"html",
">",
"scan",
"filter",
"<",
"/",
"a",
">",
"in",
"the",
"<",
"i",
">",
"amazon",
"dynamo",
"d",
"b",
"developer",
"guide",
"<",
"/",
"i",
">",
"<",
"/",
"p",
">"
]
| [
"set",
"scan",
"filter",
"(",
"scan",
"filter",
")",
";",
"return",
"this",
";"
]
|
[
"removes",
"all",
"the",
"entries",
"added",
"into",
"scan",
"filter"
]
| [
"this",
"scan",
"filter",
"=",
"null",
";",
"return",
"this",
";"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.